#2A0224#2A0224

#2A0224 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.082 H 335.0°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#2A0224
RGBrgb(42, 2, 36)
HSLhsl(309, 91%, 9%)
HSVhsv(309, 95%, 16%)
CMYKcmyk(0%, 95.2%, 14.3%, 83.5%)
CIE-LABlab(5.99, 24.63, -12.35)
CIE-LCHlch(5.99, 27.56, 333.37°)
OKLaboklab(19.89% 0.0745 -0.0348)
OKLCHoklch(19.89% 0.082 335)
XYZxyz(1.2950, 0.6632, 1.7285)
Luminance0.0066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0224 #022A08
analogous
#1C022A #2A0224 #2A0210
triadic
#2A0224 #242A02 #02242A
tetradic
#2A0224 #2A1C02 #022A08 #02102A
square
#2A0224 #2A1C02 #022A08 #02102A
split-complementary
#2A0224 #102A02 #022A1C
monochromatic
#1D0119 #1D0119 #2A0224 #640556 #9F0888

Accessibility & contrast

On white

18.54
#2A0224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2A0224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0224
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0224#FFFFFF#000000##FFFFFF
##2A02241.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020F25
Deuteranopia (green-blind)
#101523
Tritanopia (blue-blind)
#2D0412
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0224;
/* rgb */ color: rgb(42, 2, 36);
/* oklch */ color: oklch(19.9% 0.082 335.0);
Tailwind
colors: {
  custom: {
    50: '#65475e',
    500: '#2a0224',
    950: '#000000',
  },
}
SCSS
$custom: #2a0224;
$custom-light: #65475e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0224",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 36
  },
  "hsl": {
    "h": 309,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19887,
    "c": 0.08221,
    "h": 335
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#2A0224
secondary
#196F26
accent
#FF4929
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0224

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

Preview Lab → · Contrast checker → · Palette generator →

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