#2B042A#2B042A

#2B042A is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.084 H 329.2°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#2B042A
RGBrgb(43, 4, 42)
HSLhsl(302, 83%, 9%)
HSVhsv(302, 91%, 17%)
CMYKcmyk(0%, 90.7%, 2.3%, 83.1%)
CIE-LABlab(6.93, 25.37, -15.43)
CIE-LCHlch(6.93, 29.69, 328.68°)
OKLaboklab(20.84% 0.072 -0.043)
OKLCHoklch(20.84% 0.084 329.2)
XYZxyz(1.4576, 0.7677, 2.2615)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B042A #042B05
analogous
#19042B #2B042A #2B0417
triadic
#2B042A #2A2B04 #042A2B
tetradic
#2B042A #2B1904 #042B05 #04172B
square
#2B042A #2B1904 #042B05 #04172B
split-complementary
#2B042A #172B04 #042B19
monochromatic
#1C031B #1C031B #2B042A #630961 #9B0E97

Accessibility & contrast

On white

18.20
#2B042A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B042A
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B042A#FFFFFF#000000##FFFFFF
##2B042A1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122B
Deuteranopia (green-blind)
#0F1729
Tritanopia (blue-blind)
#2D0916
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b042a;
/* rgb */ color: rgb(43, 4, 42);
/* oklch */ color: oklch(20.8% 0.084 329.2);
Tailwind
colors: {
  custom: {
    50: '#664863',
    500: '#2b042a',
    950: '#000000',
  },
}
SCSS
$custom: #2b042a;
$custom-light: #664863;
$custom-dark: #000000;
JSON
{
  "hex": "#2b042a",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 42
  },
  "hsl": {
    "h": 301.538,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2084,
    "c": 0.08385,
    "h": 329.2
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#2B042A
secondary
#1D6E1F
accent
#F9342E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B042A

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

Preview Lab → · Contrast checker → · Palette generator →

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