#2A032B#2A032B

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

Color values

HEX#2A032B
RGBrgb(42, 3, 43)
HSLhsl(299, 87%, 9%)
HSVhsv(299, 93%, 17%)
CMYKcmyk(2.3%, 93%, 0%, 83.1%)
CIE-LABlab(6.61, 25.78, -16.71)
CIE-LCHlch(6.61, 30.72, 327.05°)
OKLaboklab(20.57% 0.0724 -0.0469)
OKLCHoklch(20.57% 0.086 327.1)
XYZxyz(1.4234, 0.7319, 2.3513)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A032B #042B03
analogous
#16032B #2A032B #2B0318
triadic
#2A032B #2B2A03 #032B2A
tetradic
#2A032B #2B1603 #042B03 #03182B
square
#2A032B #2B1603 #042B03 #03182B
split-complementary
#2A032B #182B03 #032B16
monochromatic
#1C021D #1C021D #2A032B #620764 #9A0B9D

Accessibility & contrast

On white

18.32
#2A032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A032B
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A032B#FFFFFF#000000##FFFFFF
##2A032B1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#0C162A
Tritanopia (blue-blind)
#2C0916
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a032b;
/* rgb */ color: rgb(42, 3, 43);
/* oklch */ color: oklch(20.6% 0.086 327.1);
Tailwind
colors: {
  custom: {
    50: '#654864',
    500: '#2a032b',
    950: '#000000',
  },
}
SCSS
$custom: #2a032b;
$custom-light: #654864;
$custom-dark: #000000;
JSON
{
  "hex": "#2a032b",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 298.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20565,
    "c": 0.08628,
    "h": 327.1
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#2A032B
secondary
#1D6F1B
accent
#FD2B30
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060005
muted
#7A777A

Preview Lab

Preview with #2A032B

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

Preview Lab → · Contrast checker → · Palette generator →

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