#2A0A32#2A0A32

#2A0A32 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.081 H 319.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2A0A32
RGBrgb(42, 10, 50)
HSLhsl(288, 67%, 12%)
HSVhsv(288, 80%, 20%)
CMYKcmyk(16%, 80%, 0%, 80.4%)
CIE-LABlab(8.48, 23.66, -18.94)
CIE-LCHlch(8.48, 30.31, 321.32°)
OKLaboklab(22.13% 0.0609 -0.053)
OKLCHoklch(22.13% 0.081 319)
XYZxyz(1.6390, 0.9397, 3.1120)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A32 #12320A
analogous
#160A32 #2A0A32 #320A26
triadic
#2A0A32 #322A0A #0A322A
tetradic
#2A0A32 #32160A #12320A #0A2632
square
#2A0A32 #32160A #12320A #0A2632
split-complementary
#2A0A32 #26320A #0A3216
monochromatic
#15051A #15051A #2A0A32 #551465 #801E98

Accessibility & contrast

On white

17.68
#2A0A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A0A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0A32
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A32#FFFFFF#000000##FFFFFF
##2A0A321.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011633
Deuteranopia (green-blind)
#0C1A31
Tritanopia (blue-blind)
#2A111C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0a32;
/* rgb */ color: rgb(42, 10, 50);
/* oklch */ color: oklch(22.1% 0.081 319.0);
Tailwind
colors: {
  custom: {
    50: '#654c6a',
    500: '#2a0a32',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a32;
$custom-light: #654c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a32",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 50
  },
  "hsl": {
    "h": 288,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22131,
    "c": 0.08077,
    "h": 319
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#2A0A32
secondary
#376F28
accent
#EA3E60
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0A32

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

Preview Lab → · Contrast checker → · Palette generator →

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