#2B0831#2B0831

#2B0831 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.084 H 321.4°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#2B0831
RGBrgb(43, 8, 49)
HSLhsl(291, 72%, 11%)
HSVhsv(291, 84%, 19%)
CMYKcmyk(12.2%, 83.7%, 0%, 80.8%)
CIE-LABlab(8.21, 24.78, -18.63)
CIE-LCHlch(8.21, 31.00, 323.07°)
OKLaboklab(21.95% 0.0653 -0.0521)
OKLCHoklch(21.95% 0.084 321.4)
XYZxyz(1.6374, 0.9091, 2.9944)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0831 #0E3108
analogous
#160831 #2B0831 #310822
triadic
#2B0831 #312B08 #08312B
tetradic
#2B0831 #311608 #0E3108 #082231
square
#2B0831 #311608 #0E3108 #082231
split-complementary
#2B0831 #223108 #083116
monochromatic
#17041A #17041A #2B0831 #591166 #87199A

Accessibility & contrast

On white

17.77
#2B0831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2B0831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0831
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0831#FFFFFF#000000##FFFFFF
##2B08311.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#0D1930
Tritanopia (blue-blind)
#2B0F1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0831;
/* rgb */ color: rgb(43, 8, 49);
/* oklch */ color: oklch(22.0% 0.084 321.4);
Tailwind
colors: {
  custom: {
    50: '#664b69',
    500: '#2b0831',
    950: '#000000',
  },
}
SCSS
$custom: #2b0831;
$custom-light: #664b69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0831",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 291.22,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21952,
    "c": 0.08352,
    "h": 321.4
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#2B0831
secondary
#307025
accent
#EF3954
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0831

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

Preview Lab → · Contrast checker → · Palette generator →

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