#2B0B33#2B0B33

#2B0B33 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.081 H 319.0°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#2B0B33
RGBrgb(43, 11, 51)
HSLhsl(288, 65%, 12%)
HSVhsv(288, 78%, 20%)
CMYKcmyk(15.7%, 78.4%, 0%, 80%)
CIE-LABlab(8.92, 23.67, -18.96)
CIE-LCHlch(8.92, 30.32, 321.31°)
OKLaboklab(22.51% 0.061 -0.053)
OKLCHoklch(22.51% 0.081 319)
XYZxyz(1.7134, 0.9920, 3.2326)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B33 #13330B
analogous
#170B33 #2B0B33 #330B27
triadic
#2B0B33 #332B0B #0B332B
tetradic
#2B0B33 #33170B #13330B #0B2733
square
#2B0B33 #33170B #13330B #0B2733
split-complementary
#2B0B33 #27330B #0B3317
monochromatic
#150519 #150519 #2B0B33 #551665 #802198

Accessibility & contrast

On white

17.52
#2B0B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B0B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0B33
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B33#FFFFFF#000000##FFFFFF
##2B0B331.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#0E1A32
Tritanopia (blue-blind)
#2B121D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0b33;
/* rgb */ color: rgb(43, 11, 51);
/* oklch */ color: oklch(22.5% 0.081 319.0);
Tailwind
colors: {
  custom: {
    50: '#664d6b',
    500: '#2b0b33',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b33;
$custom-light: #664d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b33",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 288,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22513,
    "c": 0.08083,
    "h": 319
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#2B0B33
secondary
#38702A
accent
#E84062
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0B33

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2B0B33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva