#2B0332#2B0332

#2B0332 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.093 H 321.3°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#2B0332
RGBrgb(43, 3, 50)
HSLhsl(291, 89%, 10%)
HSVhsv(291, 94%, 20%)
CMYKcmyk(14%, 94%, 0%, 80.4%)
CIE-LABlab(7.31, 27.80, -20.81)
CIE-LCHlch(7.31, 34.72, 323.18°)
OKLaboklab(21.32% 0.0729 -0.0585)
OKLCHoklch(21.32% 0.093 321.3)
XYZxyz(1.6045, 0.8091, 3.0887)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0332 #0A3203
analogous
#130332 #2B0332 #320321
triadic
#2B0332 #322B03 #03322B
tetradic
#2B0332 #321303 #0A3203 #032132
square
#2B0332 #321303 #0A3203 #032132
split-complementary
#2B0332 #213203 #033213
monochromatic
#19021D #19021D #2B0332 #5D066C #8E0AA5

Accessibility & contrast

On white

18.08
#2B0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B0332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0332
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0332#FFFFFF#000000##FFFFFF
##2B03321.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#081831
Tritanopia (blue-blind)
#2B0C1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0332;
/* rgb */ color: rgb(43, 3, 50);
/* oklch */ color: oklch(21.3% 0.093 321.3);
Tailwind
colors: {
  custom: {
    50: '#67486a',
    500: '#2b0332',
    950: '#000000',
  },
}
SCSS
$custom: #2b0332;
$custom-light: #67486a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0332",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 291.064,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21323,
    "c": 0.09346,
    "h": 321.3
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#2B0332
secondary
#29751B
accent
#FF2949
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0332

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

Preview Lab → · Contrast checker → · Palette generator →

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