Recognised as Colour
#38216D
- #38216D
- Violet
- Dark
- Nearest: Midnight blue
#38216D is a violet with RGB values 56, 33, 109 and HSL 258°, 54%, 28%. It is a dark colour, so white text on it reaches 13.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#38216D#38216D
HEX#38216D
RGBrgb(56, 33, 109)
RGB (0–1)0.2196, 0.1294, 0.4275
RGB percentages22%, 12.9%, 42.7%
HSLhsl(258.2, 53.5%, 27.8%)
HSV / HSBhsv(258.2, 69.7%, 42.7%)
CMYK48.6%, 69.7%, 0%, 57.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,678,573
CSS custom property--colour: #38216D;
Brightness & contrast
Relative luminance0.03033WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.07:1
Contrast with white13.07:1WCAG normal text: AAA
Contrast with black1.61:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#C7DE92
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.07:1WCAG large text: AAA
Contrast with black, large text1.61:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#566D21
Analogous#21306D, #5E216D
Triadic#6D3821, #216D38
Split complementary#6D5E21, #306D21
Tetradic#6D2130, #566D21, #216D5E
Tints, shades & saturation
Channel breakdown
R56
G33
B109
Red56 (22%)
Green33 (12.9%)
Blue109 (42.7%)
Hue258.16°
Saturation (HSL)53.52%
Lightness27.84%
Dominant channelBlue
Hex per channelR 38 · G 21 · B 6D
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