#2A0629#2A0629

#2A0629 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.078 H 329.1°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#2A0629
RGBrgb(42, 6, 41)
HSLhsl(302, 75%, 9%)
HSVhsv(302, 86%, 16%)
CMYKcmyk(0%, 85.7%, 2.4%, 83.5%)
CIE-LABlab(7.07, 23.71, -14.48)
CIE-LCHlch(7.07, 27.78, 328.59°)
OKLaboklab(20.88% 0.0672 -0.0402)
OKLCHoklch(20.88% 0.078 329.1)
XYZxyz(1.4202, 0.7827, 2.1737)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0629 #062A07
analogous
#19062A #2A0629 #2A0617
triadic
#2A0629 #292A06 #06292A
tetradic
#2A0629 #2A1906 #062A07 #06172A
square
#2A0629 #2A1906 #062A07 #06172A
split-complementary
#2A0629 #172A06 #062A19
monochromatic
#1B041A #1B041A #2A0629 #600E5D #951592

Accessibility & contrast

On white

18.16
#2A0629 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2A0629 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0629
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0629#FFFFFF#000000##FFFFFF
##2A06291.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132A
Deuteranopia (green-blind)
#101728
Tritanopia (blue-blind)
#2C0A16
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0629;
/* rgb */ color: rgb(42, 6, 41);
/* oklch */ color: oklch(20.9% 0.078 329.1);
Tailwind
colors: {
  custom: {
    50: '#654963',
    500: '#2a0629',
    950: '#000000',
  },
}
SCSS
$custom: #2a0629;
$custom-light: #654963;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0629",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 41
  },
  "hsl": {
    "h": 301.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20883,
    "c": 0.07827,
    "h": 329.1
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#2A0629
secondary
#216B23
accent
#F23B36
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0629

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

Preview Lab → · Contrast checker → · Palette generator →

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