#2B022B#2B022B

#2B022B is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.6% C 0.089 H 328.2°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#2B022B
RGBrgb(43, 2, 43)
HSLhsl(300, 91%, 9%)
HSVhsv(300, 95%, 17%)
CMYKcmyk(0%, 95.3%, 0%, 83.1%)
CIE-LABlab(6.61, 26.67, -16.70)
CIE-LCHlch(6.61, 31.47, 327.95°)
OKLaboklab(20.6% 0.0756 -0.0468)
OKLCHoklch(20.6% 0.089 328.2)
XYZxyz(1.4540, 0.7315, 2.3497)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B022B #022B02
analogous
#17022B #2B022B #2B0217
triadic
#2B022B #2B2B02 #022B2B
tetradic
#2B022B #2B1702 #022B02 #02172B
square
#2B022B #2B1702 #022B02 #02172B
split-complementary
#2B022B #172B02 #022B17
monochromatic
#1D011D #1D011D #2B022B #650565 #A007A0

Accessibility & contrast

On white

18.32
#2B022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2B022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B022B
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B022B#FFFFFF#000000##FFFFFF
##2B022B1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#0D172A
Tritanopia (blue-blind)
#2D0716
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b022b;
/* rgb */ color: rgb(43, 2, 43);
/* oklch */ color: oklch(20.6% 0.089 328.2);
Tailwind
colors: {
  custom: {
    50: '#664764',
    500: '#2b022b',
    950: '#000000',
  },
}
SCSS
$custom: #2b022b;
$custom-light: #664764;
$custom-dark: #000000;
JSON
{
  "hex": "#2b022b",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20604,
    "c": 0.08891,
    "h": 328.2
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#2B022B
secondary
#197019
accent
#FF2929
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060005
muted
#7A777A

Preview Lab

Preview with #2B022B

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

Preview Lab → · Contrast checker → · Palette generator →

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