#2B0832#2B0832

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

Color values

HEX#2B0832
RGBrgb(43, 8, 50)
HSLhsl(290, 72%, 11%)
HSVhsv(290, 84%, 20%)
CMYKcmyk(14%, 84%, 0%, 80.4%)
CIE-LABlab(8.29, 25.01, -19.24)
CIE-LCHlch(8.29, 31.56, 322.43°)
OKLaboklab(22.03% 0.0653 -0.0539)
OKLCHoklch(22.03% 0.085 320.5)
XYZxyz(1.6587, 0.9176, 3.1067)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0832 #0F3208
analogous
#160832 #2B0832 #320824
triadic
#2B0832 #322B08 #08322B
tetradic
#2B0832 #321608 #0F3208 #082432
square
#2B0832 #321608 #0F3208 #082432
split-complementary
#2B0832 #243208 #083216
monochromatic
#17041A #17041A #2B0832 #581067 #86199C

Accessibility & contrast

On white

17.74
#2B0832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0832
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0832#FFFFFF#000000##FFFFFF
##2B08321.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#0C1931
Tritanopia (blue-blind)
#2B101C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0832;
/* rgb */ color: rgb(43, 8, 50);
/* oklch */ color: oklch(22.0% 0.085 320.5);
Tailwind
colors: {
  custom: {
    50: '#664b6a',
    500: '#2b0832',
    950: '#000000',
  },
}
SCSS
$custom: #2b0832;
$custom-light: #664b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0832",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 290,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2203,
    "c": 0.08461,
    "h": 320.5
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#2B0832
secondary
#327125
accent
#EF3957
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0832

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

Preview Lab → · Contrast checker → · Palette generator →

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