Nerdulator> put something in

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

Protanopia#00214Cno red cones; affects about 1% of men; ΔE 20.1 from the original
Deuteranopia#072349no green cones; the most common form, about 1% of men; ΔE 22 from the original
Tritanopia#311E2Cno blue cones; rare, and affects men and women equally; ΔE 27.4 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 22.22, a distinctly different colour
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

Lighter +40%#A253D5
Lighter +30%#8A30C5
Lighter +20%#6E269C
Lighter +10%#511C73
Darker −10%#170821
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#360656
Less saturated −25%#321E3F

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

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