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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page