Recognised as Colour
#2B0152
- #2B0152
- Violet
- Dark
- Nearest: Midnight blue
#2B0152 is a violet with RGB values 43, 1, 82 and HSL 271°, 98%, 16%. It is a dark colour, so white text on it reaches 17.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2B0152#2B0152
HEX#2B0152
RGBrgb(43, 1, 82)
RGB (0–1)0.1686, 0.0039, 0.3216
RGB percentages16.9%, 0.4%, 32.2%
HSLhsl(271.1, 97.6%, 16.3%)
HSV / HSBhsv(271.1, 98.8%, 32.2%)
CMYK47.6%, 98.8%, 0%, 67.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,818,386
CSS custom property--colour: #2B0152;
Brightness & contrast
Relative luminance0.01144WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.09:1
Contrast with white17.09:1WCAG normal text: AAA
Contrast with black1.23:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#D4FEAD
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.09:1WCAG large text: AAA
Contrast with black, large text1.23:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#285201
Analogous#020152, #520151
Triadic#522B01, #01522B
Split complementary#515201, #015202
Tetradic#520201, #285201, #015152
Tints, shades & saturation
Channel breakdown
R43
G1
B82
Red43 (16.9%)
Green1 (0.4%)
Blue82 (32.2%)
Hue271.11°
Saturation (HSL)97.59%
Lightness16.27%
Dominant channelBlue
Hex per channelR 2B · G 01 · B 52
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