Nerdulator> put something in

Recognised as Colour

#0C0229

  • #0C0229
  • Violet
  • Dark
  • Nearest: Black

#0C0229 is a violet with RGB values 12, 2, 41 and HSL 255°, 91%, 8%. It is a dark colour, so white text on it reaches 19.9:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#0C0229#0C0229
HEX#0C0229
RGBrgb(12, 2, 41)
RGB (0–1)0.0471, 0.0078, 0.1608
RGB percentages4.7%, 0.8%, 16.1%
HSLhsl(255.4, 90.7%, 8.4%)
HSV / HSBhsv(255.4, 95.1%, 16.1%)
CMYK70.7%, 95.1%, 0%, 83.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer786,985
CSS custom property--colour: #0C0229;

Brightness & contrast

Relative luminance0.00282WCAG 2.x, 0 is black and 1 is white
Perceived brightness15.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.88:1
Contrast with white19.88:1WCAG normal text: AAA
Contrast with black1.06:1WCAG normal text: Fail
Greyscale equivalent#070707
Inverted#F3FDD6

Colour vision & accessibility

Protanopia#000A2Ano red cones; affects about 1% of men; ΔE 6 from the original
Deuteranopia#000828no green cones; the most common form, about 1% of men; ΔE 6.2 from the original
Tritanopia#020C14no blue cones; rare, and affects men and women equally; ΔE 21.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.88:1WCAG large text: AAA
Contrast with black, large text1.06:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 25.31, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#1F2902
Analogous#020C29, #200229
Triadic#290C02, #02290C
Split complementary#291F02, #0C2902
Tetradic#29020C, #1F2902, #02291F

Tints, shades & saturation

Lighter +40%#450BEC
Lighter +30%#3709BB
Lighter +20%#28078A
Lighter +10%#1A045A
Darker −10%#000000
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#0B002B
Less saturated −25%#0F0724

Channel breakdown

R12
G2
B41
Red12 (4.7%)
Green2 (0.8%)
Blue41 (16.1%)
Hue255.38°
Saturation (HSL)90.7%
Lightness8.43%
Dominant channelBlue
Hex per channelR 0C · G 02 · B 29

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