#2A0A29#2A0A29

#2A0A29 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.071 H 329.0°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#2A0A29
RGBrgb(42, 10, 41)
HSLhsl(302, 62%, 10%)
HSVhsv(302, 76%, 16%)
CMYKcmyk(0%, 76.2%, 2.4%, 83.5%)
CIE-LABlab(7.85, 21.57, -13.25)
CIE-LCHlch(7.85, 25.32, 328.45°)
OKLaboklab(21.48% 0.0606 -0.0365)
OKLCHoklch(21.48% 0.071 329)
XYZxyz(1.4636, 0.8695, 2.1881)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A29 #0A2A0B
analogous
#1B0A2A #2A0A29 #2A0A19
triadic
#2A0A29 #292A0A #0A292A
tetradic
#2A0A29 #2A1B0A #0A2A0B #0A192A
square
#2A0A29 #2A1B0A #0A2A0B #0A192A
split-complementary
#2A0A29 #192A0A #0A2A1B
monochromatic
#190618 #190618 #2A0A29 #5B1659 #8D228A

Accessibility & contrast

On white

17.89
#2A0A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A0A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0A29
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A29#FFFFFF#000000##FFFFFF
##2A0A291.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07142A
Deuteranopia (green-blind)
#121928
Tritanopia (blue-blind)
#2C0E18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0a29;
/* rgb */ color: rgb(42, 10, 41);
/* oklch */ color: oklch(21.5% 0.071 329.0);
Tailwind
colors: {
  custom: {
    50: '#654b63',
    500: '#2a0a29',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a29;
$custom-light: #654b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a29",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 41
  },
  "hsl": {
    "h": 301.875,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21477,
    "c": 0.07075,
    "h": 329
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#2A0A29
secondary
#29672B
accent
#E54843
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0A29

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

Preview Lab → · Contrast checker → · Palette generator →

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