Recognised as Colour
#2C0C46
- #2C0C46
- Violet
- Dark
- Nearest: Midnight blue
#2C0C46 is a violet with RGB values 44, 12, 70 and HSL 273°, 71%, 16%. It is a dark colour, so white text on it reaches 16.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2C0C46#2C0C46
HEX#2C0C46
RGBrgb(44, 12, 70)
RGB (0–1)0.1725, 0.0471, 0.2745
RGB percentages17.3%, 4.7%, 27.5%
HSLhsl(273.1, 70.7%, 16.1%)
HSV / HSBhsv(273.1, 82.9%, 27.5%)
CMYK37.1%, 82.9%, 0%, 72.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,886,726
CSS custom property--colour: #2C0C46;
Brightness & contrast
Relative luminance0.01241WCAG 2.x, 0 is black and 1 is white
Perceived brightness35 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.83:1
Contrast with white16.83:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#D3F3B9
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.83:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#26460C
Analogous#0F0C46, #460C43
Triadic#462C0C, #0C462C
Split complementary#43460C, #0C460F
Tetradic#460F0C, #26460C, #0C4346
Tints, shades & saturation
Channel breakdown
R44
G12
B70
Red44 (17.3%)
Green12 (4.7%)
Blue70 (27.5%)
Hue273.1°
Saturation (HSL)70.73%
Lightness16.08%
Dominant channelBlue
Hex per channelR 2C · G 0C · B 46
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