#2A0329#2A0329

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

Color values

HEX#2A0329
RGBrgb(42, 3, 41)
HSLhsl(302, 87%, 9%)
HSVhsv(302, 93%, 16%)
CMYKcmyk(0%, 92.9%, 2.4%, 83.5%)
CIE-LABlab(6.48, 25.30, -15.40)
CIE-LCHlch(6.48, 29.62, 328.66°)
OKLaboklab(20.41% 0.0725 -0.0432)
OKLCHoklch(20.41% 0.084 329.2)
XYZxyz(1.3876, 0.7176, 2.1628)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0329 #032A04
analogous
#18032A #2A0329 #2A0316
triadic
#2A0329 #292A03 #03292A
tetradic
#2A0329 #2A1803 #032A04 #03162A
square
#2A0329 #2A1803 #032A04 #03162A
split-complementary
#2A0329 #162A03 #032A18
monochromatic
#1D021C #1D021C #2A0329 #630761 #9C0B99

Accessibility & contrast

On white

18.37
#2A0329 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2A0329 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0329
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0329#FFFFFF#000000##FFFFFF
##2A03291.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112A
Deuteranopia (green-blind)
#0E1628
Tritanopia (blue-blind)
#2C0815
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a0329;
/* rgb */ color: rgb(42, 3, 41);
/* oklch */ color: oklch(20.4% 0.084 329.2);
Tailwind
colors: {
  custom: {
    50: '#654863',
    500: '#2a0329',
    950: '#000000',
  },
}
SCSS
$custom: #2a0329;
$custom-light: #654863;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0329",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 41
  },
  "hsl": {
    "h": 301.538,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20413,
    "c": 0.08441,
    "h": 329.2
  },
  "luminance": 0.00717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A0329

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

Preview Lab → · Contrast checker → · Palette generator →

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