Recognised as Colour
#34156E
- #34156E
- Violet
- Dark
- Nearest: Midnight blue
#34156E is a violet with RGB values 52, 21, 110 and HSL 261°, 68%, 26%. It is a dark colour, so white text on it reaches 14.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#34156E#34156E
HEX#34156E
RGBrgb(52, 21, 110)
RGB (0–1)0.2039, 0.0824, 0.4314
RGB percentages20.4%, 8.2%, 43.1%
HSLhsl(260.9, 67.9%, 25.7%)
HSV / HSBhsv(260.9, 80.9%, 43.1%)
CMYK52.7%, 80.9%, 0%, 56.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,413,358
CSS custom property--colour: #34156E;
Brightness & contrast
Relative luminance0.02392WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.2:1
Contrast with white14.2:1WCAG normal text: AAA
Contrast with black1.48:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#CBEA91
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.2:1WCAG large text: AAA
Contrast with black, large text1.48:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4F6E15
Analogous#15236E, #60156E
Triadic#6E3415, #156E34
Split complementary#6E6115, #226E15
Tetradic#6E1523, #4F6E15, #156E60
Tints, shades & saturation
Channel breakdown
R52
G21
B110
Red52 (20.4%)
Green21 (8.2%)
Blue110 (43.1%)
Hue260.9°
Saturation (HSL)67.94%
Lightness25.69%
Dominant channelBlue
Hex per channelR 34 · G 15 · B 6E
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