#2A032D#2A032D

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

Color values

HEX#2A032D
RGBrgb(42, 3, 45)
HSLhsl(296, 88%, 9%)
HSVhsv(296, 93%, 18%)
CMYKcmyk(6.7%, 93.3%, 0%, 82.4%)
CIE-LABlab(6.75, 26.27, -18.00)
CIE-LCHlch(6.75, 31.85, 325.59°)
OKLaboklab(20.72% 0.0722 -0.0505)
OKLCHoklch(20.72% 0.088 325)
XYZxyz(1.4610, 0.7469, 2.5493)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A032D #062D03
analogous
#15032D #2A032D #2D031B
triadic
#2A032D #2D2A03 #032D2A
tetradic
#2A032D #2D1503 #062D03 #031B2D
square
#2A032D #2D1503 #062D03 #031B2D
split-complementary
#2A032D #1B2D03 #032D15
monochromatic
#1B021D #1B021D #2A032D #600766 #950BA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A032D#FFFFFF#000000##FFFFFF
##2A032D1.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)
#2B0A17
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a032d;
/* rgb */ color: rgb(42, 3, 45);
/* oklch */ color: oklch(20.7% 0.088 325.0);
Tailwind
colors: {
  custom: {
    50: '#664866',
    500: '#2a032d',
    950: '#000000',
  },
}
SCSS
$custom: #2a032d;
$custom-light: #664866;
$custom-dark: #000000;
JSON
{
  "hex": "#2a032d",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 295.714,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20723,
    "c": 0.08817,
    "h": 325
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#2A032D
secondary
#21711B
accent
#FE2A39
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2A032D

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

Preview Lab → · Contrast checker → · Palette generator →

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