Nerdulator> put something in

Colour

#2A0F68

  • #2A0F68
  • Violet
  • Dark
  • Nearest: Midnight blue

#2A0F68 is a violet with RGB values 42, 15, 104 and HSL 258°, 75%, 23%. It is a dark colour, so white text on it reaches 15.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2A0F68#2A0F68
HEX#2A0F68
RGBrgb(42, 15, 104)
RGB (0–1)0.1647, 0.0588, 0.4078
RGB percentages16.5%, 5.9%, 40.8%
HSLhsl(258.2, 74.8%, 23.3%)
HSV / HSBhsv(258.2, 85.6%, 40.8%)
CMYK59.6%, 85.6%, 0%, 59.2%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,756,456
CSS custom property--colour: #2A0F68;

Brightness & contrast

Relative luminance0.01833WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.37:1
Contrast with white15.37:1WCAG normal text: AAA
Contrast with black1.37:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#D5F097

Colour vision & accessibility

Protanopia#00276Ano red cones; affects about 1% of men; ΔE 19.6 from the original
Deuteranopia#002266no green cones; the most common form, about 1% of men; ΔE 17.4 from the original
Tritanopia#0D2A3Cno blue cones; rare, and affects men and women equally; ΔE 51.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.37:1WCAG large text: AAA
Contrast with black, large text1.37:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 5.84, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#4D680F
Analogous#0F2168, #560F68
Triadic#682A0F, #0F682A
Split complementary#68560F, #21680F
Tetradic#680F21, #4D680F, #0F6856

Tints, shades & saturation

Lighter +40%#865CE7
Lighter +30%#652FE1
Lighter +20%#4E1CC1
Lighter +10%#3C1595
Darker −10%#18093B
Darker −20%#06020F
Darker −30%#000000
Darker −40%#000000
More saturated +25%#240077
Less saturated −25%#301E59

Channel breakdown

R42
G15
B104
Red42 (16.5%)
Green15 (5.9%)
Blue104 (40.8%)
Hue258.2°
Saturation (HSL)74.79%
Lightness23.33%
Dominant channelBlue
Hex per channelR 2A · G 0F · B 68

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 “2a0f68” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.