#2B0229#2B0229

#2B0229 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.087 H 330.3°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#2B0229
RGBrgb(43, 2, 41)
HSLhsl(303, 91%, 9%)
HSVhsv(303, 95%, 17%)
CMYKcmyk(0%, 95.3%, 4.7%, 83.1%)
CIE-LABlab(6.48, 26.20, -15.39)
CIE-LCHlch(6.48, 30.39, 329.57°)
OKLaboklab(20.45% 0.0757 -0.0431)
OKLCHoklch(20.45% 0.087 330.3)
XYZxyz(1.4182, 0.7172, 2.1611)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0229 #022B04
analogous
#19022B #2B0229 #2B0215
triadic
#2B0229 #292B02 #02292B
tetradic
#2B0229 #2B1902 #022B04 #02152B
square
#2B0229 #2B1902 #022B04 #02152B
split-complementary
#2B0229 #152B02 #022B19
monochromatic
#1D011C #1D011C #2B0229 #650561 #A00799

Accessibility & contrast

On white

18.37
#2B0229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2B0229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0229
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0229#FFFFFF#000000##FFFFFF
##2B02291.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112A
Deuteranopia (green-blind)
#0E1628
Tritanopia (blue-blind)
#2D0615
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b0229;
/* rgb */ color: rgb(43, 2, 41);
/* oklch */ color: oklch(20.5% 0.087 330.3);
Tailwind
colors: {
  custom: {
    50: '#664763',
    500: '#2b0229',
    950: '#000000',
  },
}
SCSS
$custom: #2b0229;
$custom-light: #664763;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0229",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 302.927,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20452,
    "c": 0.08712,
    "h": 330.3
  },
  "luminance": 0.00717
}

Semantic roles & 50–950 ramp

primary
#2B0229
secondary
#19701D
accent
#FF3329
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2B0229

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

Preview Lab → · Contrast checker → · Palette generator →

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