#2A032E#2A032E

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

Color values

HEX#2A032E
RGBrgb(42, 3, 46)
HSLhsl(294, 88%, 10%)
HSVhsv(294, 93%, 18%)
CMYKcmyk(8.7%, 93.5%, 0%, 82%)
CIE-LABlab(6.82, 26.52, -18.63)
CIE-LCHlch(6.82, 32.41, 324.91°)
OKLaboklab(20.8% 0.0721 -0.0524)
OKLCHoklch(20.8% 0.089 324)
XYZxyz(1.4805, 0.7547, 2.6519)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A032E #072E03
analogous
#15032E #2A032E #2E031D
triadic
#2A032E #2E2A03 #032E2A
tetradic
#2A032E #2E1503 #072E03 #031D2E
square
#2A032E #2E1503 #072E03 #031D2E
split-complementary
#2A032E #1D2E03 #032E15
monochromatic
#1A021D #1A021D #2A032E #5E0767 #930AA1

Accessibility & contrast

On white

18.25
#2A032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A032E
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A032E#FFFFFF#000000##FFFFFF
##2A032E1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#0A172D
Tritanopia (blue-blind)
#2B0A18
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a032e;
/* rgb */ color: rgb(42, 3, 46);
/* oklch */ color: oklch(20.8% 0.089 324.0);
Tailwind
colors: {
  custom: {
    50: '#664867',
    500: '#2a032e',
    950: '#000000',
  },
}
SCSS
$custom: #2a032e;
$custom-light: #664867;
$custom-dark: #000000;
JSON
{
  "hex": "#2a032e",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 294.419,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20803,
    "c": 0.08913,
    "h": 324
  },
  "luminance": 0.00755
}

Semantic roles & 50–950 ramp

primary
#2A032E
secondary
#23721B
accent
#FE2A3E
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2A032E

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

Preview Lab → · Contrast checker → · Palette generator →

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