Recognised as Colour
#180C21
- #180C21
- Violet
- Dark
- Nearest: Black
#180C21 is a violet with RGB values 24, 12, 33 and HSL 274°, 47%, 9%. It is a dark colour, so white text on it reaches 18.9:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#180C21#180C21
HEX#180C21
RGBrgb(24, 12, 33)
RGB (0–1)0.0941, 0.0471, 0.1294
RGB percentages9.4%, 4.7%, 12.9%
HSLhsl(274.3, 46.7%, 8.8%)
HSV / HSBhsv(274.3, 63.6%, 12.9%)
CMYK27.3%, 63.6%, 0%, 87.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,575,969
CSS custom property--colour: #180C21;
Brightness & contrast
Relative luminance0.00567WCAG 2.x, 0 is black and 1 is white
Perceived brightness19.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.86:1
Contrast with white18.86:1WCAG normal text: AAA
Contrast with black1.11:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#E7F3DE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.86:1WCAG large text: AAA
Contrast with black, large text1.11:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#15210C
Analogous#0D0C21, #210C20
Triadic#21180C, #0C2118
Split complementary#20210C, #0C210D
Tetradic#210D0C, #15210C, #0C2021
Tints, shades & saturation
Channel breakdown
R24
G12
B33
Red24 (9.4%)
Green12 (4.7%)
Blue33 (12.9%)
Hue274.29°
Saturation (HSL)46.67%
Lightness8.82%
Dominant channelBlue
Hex per channelR 18 · G 0C · B 21
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