Recognised as Colour
#06040C
- #06040C
- Violet
- Dark
- Nearest: Black
#06040C is a violet with RGB values 6, 4, 12 and HSL 255°, 50%, 3%. It is a dark colour, so white text on it reaches 20.4:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#06040C#06040C
HEX#06040C
RGBrgb(6, 4, 12)
RGB (0–1)0.0235, 0.0157, 0.0471
RGB percentages2.4%, 1.6%, 4.7%
HSLhsl(255, 50%, 3.1%)
HSV / HSBhsv(255, 66.7%, 4.7%)
CMYK50%, 66.7%, 0%, 95.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer394,252
CSS custom property--colour: #06040C;
Brightness & contrast
Relative luminance0.00152WCAG 2.x, 0 is black and 1 is white
Perceived brightness6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 20.38:1
Contrast with white20.38:1WCAG normal text: AAA
Contrast with black1.03:1WCAG normal text: Fail
Greyscale equivalent#050505
Inverted#F9FBF3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text20.38:1WCAG large text: AAA
Contrast with black, large text1.03:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0A0C04
Analogous#04060C, #0A040C
Triadic#0C0604, #040C06
Split complementary#0C0A04, #060C04
Tetradic#0C0406, #0A0C04, #040C0A
Tints, shades & saturation
Channel breakdown
R6
G4
B12
Red6 (2.4%)
Green4 (1.6%)
Blue12 (4.7%)
Hue255°
Saturation (HSL)50%
Lightness3.14%
Dominant channelBlue
Hex per channelR 06 · G 04 · B 0C
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