#2B022A#2B022A

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

Color values

HEX#2B022A
RGBrgb(43, 2, 42)
HSLhsl(301, 91%, 9%)
HSVhsv(301, 95%, 17%)
CMYKcmyk(0%, 95.3%, 2.3%, 83.1%)
CIE-LABlab(6.54, 26.44, -16.05)
CIE-LCHlch(6.54, 30.93, 328.74°)
OKLaboklab(20.53% 0.0757 -0.045)
OKLCHoklch(20.53% 0.088 329.3)
XYZxyz(1.4359, 0.7243, 2.2542)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B022A #022B03
analogous
#18022B #2B022A #2B0216
triadic
#2B022A #2A2B02 #022A2B
tetradic
#2B022A #2B1802 #022B03 #02162B
square
#2B022A #2B1802 #022B03 #02162B
split-complementary
#2B022A #162B02 #022B18
monochromatic
#1D011D #1D011D #2B022A #650563 #A0079C

Accessibility & contrast

On white

18.34
#2B022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B022A
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B022A#FFFFFF#000000##FFFFFF
##2B022A1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#0D1629
Tritanopia (blue-blind)
#2D0715
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b022a;
/* rgb */ color: rgb(43, 2, 42);
/* oklch */ color: oklch(20.5% 0.088 329.3);
Tailwind
colors: {
  custom: {
    50: '#664763',
    500: '#2b022a',
    950: '#000000',
  },
}
SCSS
$custom: #2b022a;
$custom-light: #664763;
$custom-dark: #000000;
JSON
{
  "hex": "#2b022a",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 301.463,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20527,
    "c": 0.08801,
    "h": 329.3
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#2B022A
secondary
#19701B
accent
#FF2E29
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2B022A

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

Preview Lab → · Contrast checker → · Palette generator →

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