Recognised as Colour
#12013F
- #12013F
- Violet
- Dark
- Nearest: Midnight blue
#12013F is a violet with RGB values 18, 1, 63 and HSL 256°, 97%, 13%. It is a dark colour, so white text on it reaches 19.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#12013F#12013F
HEX#12013F
RGBrgb(18, 1, 63)
RGB (0–1)0.0706, 0.0039, 0.2471
RGB percentages7.1%, 0.4%, 24.7%
HSLhsl(256.5, 96.9%, 12.5%)
HSV / HSBhsv(256.5, 98.4%, 24.7%)
CMYK71.4%, 98.4%, 0%, 75.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,179,967
CSS custom property--colour: #12013F;
Brightness & contrast
Relative luminance0.00509WCAG 2.x, 0 is black and 1 is white
Perceived brightness23.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.06:1
Contrast with white19.06:1WCAG normal text: AAA
Contrast with black1.1:1WCAG normal text: Fail
Greyscale equivalent#090909
Inverted#EDFEC0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.06:1WCAG large text: AAA
Contrast with black, large text1.1:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2E3F01
Analogous#010F3F, #31013F
Triadic#3F1201, #013F12
Split complementary#3F3101, #0F3F01
Tetradic#3F010F, #2E3F01, #013F31
Tints, shades & saturation
Channel breakdown
R18
G1
B63
Red18 (7.1%)
Green1 (0.4%)
Blue63 (24.7%)
Hue256.45°
Saturation (HSL)96.88%
Lightness12.55%
Dominant channelBlue
Hex per channelR 12 · G 01 · B 3F
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