Nerdulator> put something in

Recognised as Colour

#38156C

  • #38156C
  • Violet
  • Dark
  • Nearest: Midnight blue

#38156C is a violet with RGB values 56, 21, 108 and HSL 264°, 67%, 25%. It is a dark colour, so white text on it reaches 14.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#38156C#38156C
HEX#38156C
RGBrgb(56, 21, 108)
RGB (0–1)0.2196, 0.0824, 0.4235
RGB percentages22%, 8.2%, 42.4%
HSLhsl(264.1, 67.4%, 25.3%)
HSV / HSBhsv(264.1, 80.6%, 42.4%)
CMYK48.1%, 80.6%, 0%, 57.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,675,500
CSS custom property--colour: #38156C;

Brightness & contrast

Relative luminance0.0246WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.08:1
Contrast with white14.08:1WCAG normal text: AAA
Contrast with black1.49:1WCAG normal text: Fail
Greyscale equivalent#232323
Inverted#C7EA93

Colour vision & accessibility

Protanopia#002C6Eno red cones; affects about 1% of men; ΔE 21.5 from the original
Deuteranopia#002A6Ano green cones; the most common form, about 1% of men; ΔE 21.8 from the original
Tritanopia#292D40no blue cones; rare, and affects men and women equally; ΔE 45.6 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.08:1WCAG large text: AAA
Contrast with black, large text1.49:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 7.99, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#496C15
Analogous#151D6C, #64156C
Triadic#6C3815, #156C38
Split complementary#6C6415, #1D6C15
Tetradic#6C151D, #496C15, #156C64

Tints, shades & saturation

Lighter +40%#9B6BE2
Lighter +30%#7E40DA
Lighter +20%#6426C1
Lighter +10%#4E1D97
Darker −10%#220D41
Darker −20%#0C0417
Darker −30%#000000
Darker −40%#000000
More saturated +25%#35057C
Less saturated −25%#3B255C

Channel breakdown

R56
G21
B108
Red56 (22%)
Green21 (8.2%)
Blue108 (42.4%)
Hue264.14°
Saturation (HSL)67.44%
Lightness25.29%
Dominant channelBlue
Hex per channelR 38 · G 15 · B 6C

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “38156c” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.