Recognised as Colour
#34124A
- #34124A
- Violet
- Dark
- Nearest: Midnight blue
#34124A is a violet with RGB values 52, 18, 74 and HSL 276°, 61%, 18%. It is a dark colour, so white text on it reaches 15.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#34124A#34124A
HEX#34124A
RGBrgb(52, 18, 74)
RGB (0–1)0.2039, 0.0706, 0.2902
RGB percentages20.4%, 7.1%, 29%
HSLhsl(276.4, 60.9%, 18%)
HSV / HSBhsv(276.4, 75.7%, 29%)
CMYK29.7%, 75.7%, 0%, 71%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,412,554
CSS custom property--colour: #34124A;
Brightness & contrast
Relative luminance0.01657WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.77:1
Contrast with white15.77:1WCAG normal text: AAA
Contrast with black1.33:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#CBEDB5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.77:1WCAG large text: AAA
Contrast with black, large text1.33:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#284A12
Analogous#18124A, #4A1244
Triadic#4A3412, #124A34
Split complementary#444A12, #124A18
Tetradic#4A1812, #284A12, #12444A
Tints, shades & saturation
Channel breakdown
R52
G18
B74
Red52 (20.4%)
Green18 (7.1%)
Blue74 (29%)
Hue276.43°
Saturation (HSL)60.87%
Lightness18.04%
Dominant channelBlue
Hex per channelR 34 · G 12 · B 4A
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