Recognised as Colour
#301F56
- #301F56
- Violet
- Dark
- Nearest: Dark slateblue
#301F56 is a violet with RGB values 48, 31, 86 and HSL 259°, 47%, 23%. It is a dark colour, so white text on it reaches 14.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#301F56#301F56
HEX#301F56
RGBrgb(48, 31, 86)
RGB (0–1)0.1882, 0.1216, 0.3373
RGB percentages18.8%, 12.2%, 33.7%
HSLhsl(258.5, 47%, 22.9%)
HSV / HSBhsv(258.5, 64%, 33.7%)
CMYK44.2%, 64%, 0%, 66.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,153,750
CSS custom property--colour: #301F56;
Brightness & contrast
Relative luminance0.0228WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.42:1
Contrast with white14.42:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#272727
Inverted#CFE0A9
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.42:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#45561F
Analogous#1F2A56, #4B1F56
Triadic#56301F, #1F5630
Split complementary#564B1F, #2A561F
Tetradic#561F2A, #45561F, #1F564B
Tints, shades & saturation
Channel breakdown
R48
G31
B86
Red48 (18.8%)
Green31 (12.2%)
Blue86 (33.7%)
Hue258.55°
Saturation (HSL)47.01%
Lightness22.94%
Dominant channelBlue
Hex per channelR 30 · G 1F · B 56
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