Nerdulator> put something in

Colour

#2A0252

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

#2A0252 is a violet with RGB values 42, 2, 82 and HSL 270°, 95%, 16%. It is a dark colour, so white text on it reaches 17.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2A0252#2A0252
HEX#2A0252
RGBrgb(42, 2, 82)
RGB (0–1)0.1647, 0.0078, 0.3216
RGB percentages16.5%, 0.8%, 32.2%
HSLhsl(270, 95.2%, 16.5%)
HSV / HSBhsv(270, 97.6%, 32.2%)
CMYK48.8%, 97.6%, 0%, 67.8%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,753,106
CSS custom property--colour: #2A0252;

Brightness & contrast

Relative luminance0.01145WCAG 2.x, 0 is black and 1 is white
Perceived brightness36 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.09:1
Contrast with white17.09:1WCAG normal text: AAA
Contrast with black1.23:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#D5FDAD

Colour vision & accessibility

Protanopia#001C54no red cones; affects about 1% of men; ΔE 20.4 from the original
Deuteranopia#001B51no green cones; the most common form, about 1% of men; ΔE 21 from the original
Tritanopia#1F1B2Dno blue cones; rare, and affects men and women equally; ΔE 40 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.09:1WCAG large text: AAA
Contrast with black, large text1.23:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 12.81, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#2A5202
Analogous#020252, #520252
Triadic#522A02, #02522A
Split complementary#525202, #025202
Tetradic#520202, #2A5202, #025252

Tints, shades & saturation

Lighter +40%#9026FA
Lighter +30%#7606E7
Lighter +20%#5D04B6
Lighter +10%#440384
Darker −10%#110120
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2A0054
Less saturated −25%#2A0D48

Channel breakdown

R42
G2
B82
Red42 (16.5%)
Green2 (0.8%)
Blue82 (32.2%)
Hue270°
Saturation (HSL)95.24%
Lightness16.47%
Dominant channelBlue
Hex per channelR 2A · G 02 · B 52

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