Recognised as Colour
#1F1043
- #1F1043
- Violet
- Dark
- Nearest: Midnight blue
#1F1043 is a violet with RGB values 31, 16, 67 and HSL 258°, 61%, 16%. It is a dark colour, so white text on it reaches 17.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#1F1043#1F1043
HEX#1F1043
RGBrgb(31, 16, 67)
RGB (0–1)0.1216, 0.0627, 0.2627
RGB percentages12.2%, 6.3%, 26.3%
HSLhsl(257.6, 61.4%, 16.3%)
HSV / HSBhsv(257.6, 76.1%, 26.3%)
CMYK53.7%, 76.1%, 0%, 73.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,035,779
CSS custom property--colour: #1F1043;
Brightness & contrast
Relative luminance0.01067WCAG 2.x, 0 is black and 1 is white
Perceived brightness30.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.31:1
Contrast with white17.31:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#E0EFBC
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.31:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#344310
Analogous#101B43, #381043
Triadic#431F10, #10431F
Split complementary#433810, #1B4310
Tetradic#43101B, #344310, #104338
Tints, shades & saturation
Channel breakdown
R31
G16
B67
Red31 (12.2%)
Green16 (6.3%)
Blue67 (26.3%)
Hue257.65°
Saturation (HSL)61.45%
Lightness16.27%
Dominant channelBlue
Hex per channelR 1F · G 10 · B 43
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