Recognised as Colour
#2A013B
- #2A013B
- Violet
- Dark
- Nearest: Midnight blue
#2A013B is a violet with RGB values 42, 1, 59 and HSL 282°, 97%, 12%. It is a dark colour, so white text on it reaches 18:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2A013B#2A013B
HEX#2A013B
RGBrgb(42, 1, 59)
RGB (0–1)0.1647, 0.0039, 0.2314
RGB percentages16.5%, 0.4%, 23.1%
HSLhsl(282.4, 96.7%, 11.8%)
HSV / HSBhsv(282.4, 98.3%, 23.1%)
CMYK28.8%, 98.3%, 0%, 76.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,752,827
CSS custom property--colour: #2A013B;
Brightness & contrast
Relative luminance0.0083WCAG 2.x, 0 is black and 1 is white
Perceived brightness30.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.01:1
Contrast with white18.01:1WCAG normal text: AAA
Contrast with black1.17:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#D5FEC4
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.01:1WCAG large text: AAA
Contrast with black, large text1.17:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#123B01
Analogous#0D013B, #3B012F
Triadic#3B2A01, #013B2A
Split complementary#2F3B01, #013B0D
Tetradic#3B0D01, #123B01, #012F3B
Tints, shades & saturation
Channel breakdown
R42
G1
B59
Red42 (16.5%)
Green1 (0.4%)
Blue59 (23.1%)
Hue282.41°
Saturation (HSL)96.67%
Lightness11.76%
Dominant channelBlue
Hex per channelR 2A · G 01 · B 3B
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