Recognised as Colour
#1F013D
- #1F013D
- Violet
- Dark
- Nearest: Midnight blue
#1F013D is a violet with RGB values 31, 1, 61 and HSL 270°, 97%, 12%. It is a dark colour, so white text on it reaches 18.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#1F013D#1F013D
HEX#1F013D
RGBrgb(31, 1, 61)
RGB (0–1)0.1216, 0.0039, 0.2392
RGB percentages12.2%, 0.4%, 23.9%
HSLhsl(270, 96.8%, 12.2%)
HSV / HSBhsv(270, 98.4%, 23.9%)
CMYK49.2%, 98.4%, 0%, 76.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,031,933
CSS custom property--colour: #1F013D;
Brightness & contrast
Relative luminance0.0065WCAG 2.x, 0 is black and 1 is white
Perceived brightness26.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.58:1
Contrast with white18.58:1WCAG normal text: AAA
Contrast with black1.13:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#E0FEC2
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.58:1WCAG large text: AAA
Contrast with black, large text1.13:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1F3D01
Analogous#01013D, #3D013D
Triadic#3D1F01, #013D1F
Split complementary#3D3D01, #013D01
Tetradic#3D0101, #1F3D01, #013D3D
Tints, shades & saturation
Channel breakdown
R31
G1
B61
Red31 (12.2%)
Green1 (0.4%)
Blue61 (23.9%)
Hue270°
Saturation (HSL)96.77%
Lightness12.16%
Dominant channelBlue
Hex per channelR 1F · G 01 · B 3D
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