#2A0D2D#2A0D2D

#2A0D2D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.070 H 323.8°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#2A0D2D
RGBrgb(42, 13, 45)
HSLhsl(294, 55%, 11%)
HSVhsv(294, 71%, 18%)
CMYKcmyk(6.7%, 71.1%, 0%, 82.4%)
CIE-LABlab(8.74, 20.78, -14.84)
CIE-LCHlch(8.74, 25.54, 324.46°)
OKLaboklab(22.2% 0.0562 -0.0411)
OKLCHoklch(22.2% 0.07 323.8)
XYZxyz(1.5724, 0.9696, 2.5864)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D2D #102D0D
analogous
#1A0D2D #2A0D2D #2D0D20
triadic
#2A0D2D #2D2A0D #0D2D2A
tetradic
#2A0D2D #2D1A0D #102D0D #0D202D
square
#2A0D2D #2D1A0D #102D0D #0D202D
split-complementary
#2A0D2D #202D0D #0D2D1A
monochromatic
#160718 #160718 #2A0D2D #561B5C #83288C

Accessibility & contrast

On white

17.59
#2A0D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0D2D
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D2D#FFFFFF#000000##FFFFFF
##2A0D2D1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#121A2C
Tritanopia (blue-blind)
#2B111B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0d2d;
/* rgb */ color: rgb(42, 13, 45);
/* oklch */ color: oklch(22.2% 0.070 323.8);
Tailwind
colors: {
  custom: {
    50: '#654d66',
    500: '#2a0d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d2d;
$custom-light: #654d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d2d",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 294.375,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22204,
    "c": 0.06968,
    "h": 323.8
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#2A0D2D
secondary
#33682E
accent
#DF4957
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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