Recognised as Colour
#2B0158
- #2B0158
- Violet
- Dark
- Nearest: Midnight blue
#2B0158 is a violet with RGB values 43, 1, 88 and HSL 269°, 98%, 17%. It is a dark colour, so white text on it reaches 16.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2B0158#2B0158
HEX#2B0158
RGBrgb(43, 1, 88)
RGB (0–1)0.1686, 0.0039, 0.3451
RGB percentages16.9%, 0.4%, 34.5%
HSLhsl(269, 97.8%, 17.5%)
HSV / HSBhsv(269, 98.9%, 34.5%)
CMYK51.1%, 98.9%, 0%, 65.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,818,392
CSS custom property--colour: #2B0158;
Brightness & contrast
Relative luminance0.0124WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.83:1
Contrast with white16.83:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#D4FEA7
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.83:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2E5801
Analogous#010258, #560158
Triadic#582B01, #01582B
Split complementary#585601, #035801
Tetradic#580103, #2E5801, #015857
Tints, shades & saturation
Channel breakdown
R43
G1
B88
Red43 (16.9%)
Green1 (0.4%)
Blue88 (34.5%)
Hue268.97°
Saturation (HSL)97.75%
Lightness17.45%
Dominant channelBlue
Hex per channelR 2B · G 01 · B 58
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