#2B032A#2B032A

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

Color values

HEX#2B032A
RGBrgb(43, 3, 42)
HSLhsl(302, 87%, 9%)
HSVhsv(302, 93%, 17%)
CMYKcmyk(0%, 93%, 2.3%, 83.1%)
CIE-LABlab(6.74, 25.90, -15.74)
CIE-LCHlch(6.74, 30.31, 328.71°)
OKLaboklab(20.69% 0.0738 -0.044)
OKLCHoklch(20.69% 0.086 329.2)
XYZxyz(1.4467, 0.7460, 2.2578)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B032A #032B04
analogous
#18032B #2B032A #2B0316
triadic
#2B032A #2A2B03 #032A2B
tetradic
#2B032A #2B1803 #032B04 #03162B
square
#2B032A #2B1803 #032B04 #03162B
split-complementary
#2B032A #162B03 #032B18
monochromatic
#1D021C #1D021C #2B032A #640762 #9D0B9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B032A#FFFFFF#000000##FFFFFF
##2B032A1.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)
#00112B
Deuteranopia (green-blind)
#0E1729
Tritanopia (blue-blind)
#2D0816
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b032a;
/* rgb */ color: rgb(43, 3, 42);
/* oklch */ color: oklch(20.7% 0.086 329.2);
Tailwind
colors: {
  custom: {
    50: '#664863',
    500: '#2b032a',
    950: '#000000',
  },
}
SCSS
$custom: #2b032a;
$custom-light: #664863;
$custom-dark: #000000;
JSON
{
  "hex": "#2b032a",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 301.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20685,
    "c": 0.0859,
    "h": 329.2
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#2B032A
secondary
#1B6F1D
accent
#FD302B
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2B032A

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

Preview Lab → · Contrast checker → · Palette generator →

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