#2B022D#2B022D

#2B022D is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.8% C 0.091 H 326.2°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#2B022D
RGBrgb(43, 2, 45)
HSLhsl(297, 91%, 9%)
HSVhsv(297, 96%, 18%)
CMYKcmyk(4.4%, 95.6%, 0%, 82.4%)
CIE-LABlab(6.74, 27.15, -17.99)
CIE-LCHlch(6.74, 32.57, 326.47°)
OKLaboklab(20.76% 0.0754 -0.0505)
OKLCHoklch(20.76% 0.091 326.2)
XYZxyz(1.4916, 0.7466, 2.5477)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B022D #042D02
analogous
#16022D #2B022D #2D021A
triadic
#2B022D #2D2B02 #022D2B
tetradic
#2B022D #2D1602 #042D02 #021A2D
square
#2B022D #2D1602 #042D02 #021A2D
split-complementary
#2B022D #1A2D02 #022D16
monochromatic
#1C011D #1C011D #2B022D #630568 #9B07A2

Accessibility & contrast

On white

18.27
#2B022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B022D
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B022D#FFFFFF#000000##FFFFFF
##2B022D1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#0B172C
Tritanopia (blue-blind)
#2C0817
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b022d;
/* rgb */ color: rgb(43, 2, 45);
/* oklch */ color: oklch(20.8% 0.091 326.2);
Tailwind
colors: {
  custom: {
    50: '#664766',
    500: '#2b022d',
    950: '#000000',
  },
}
SCSS
$custom: #2b022d;
$custom-light: #664766;
$custom-dark: #000000;
JSON
{
  "hex": "#2b022d",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 297.209,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20761,
    "c": 0.09072,
    "h": 326.2
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#2B022D
secondary
#1D7219
accent
#FF2933
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2B022D

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

Preview Lab → · Contrast checker → · Palette generator →

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