Recognised as Colour
#2A1F43
- #2A1F43
- Violet
- Dark
- Nearest: Dark slateblue
#2A1F43 is a violet with RGB values 42, 31, 67 and HSL 258°, 37%, 19%. It is a dark colour, so white text on it reaches 15.3:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#2A1F43#2A1F43
HEX#2A1F43
RGBrgb(42, 31, 67)
RGB (0–1)0.1647, 0.1216, 0.2627
RGB percentages16.5%, 12.2%, 26.3%
HSLhsl(258.3, 36.7%, 19.2%)
HSV / HSBhsv(258.3, 53.7%, 26.3%)
CMYK37.3%, 53.7%, 0%, 73.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,760,515
CSS custom property--colour: #2A1F43;
Brightness & contrast
Relative luminance0.01877WCAG 2.x, 0 is black and 1 is white
Perceived brightness40 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.27:1
Contrast with white15.27:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#D5E0BC
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.27:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#38431F
Analogous#1F2643, #3C1F43
Triadic#432A1F, #1F432A
Split complementary#433C1F, #26431F
Tetradic#431F26, #38431F, #1F433C
Tints, shades & saturation
Channel breakdown
R42
G31
B67
Red42 (16.5%)
Green31 (12.2%)
Blue67 (26.3%)
Hue258.33°
Saturation (HSL)36.73%
Lightness19.22%
Dominant channelBlue
Hex per channelR 2A · G 1F · 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