#2A0D2B#2A0D2B

#2A0D2B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.1% C 0.067 H 326.3°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#2A0D2B
RGBrgb(42, 13, 43)
HSLhsl(298, 54%, 11%)
HSVhsv(298, 70%, 17%)
CMYKcmyk(2.3%, 69.8%, 0%, 83.1%)
CIE-LABlab(8.61, 20.31, -13.56)
CIE-LCHlch(8.61, 24.42, 326.28°)
OKLaboklab(22.07% 0.056 -0.0374)
OKLCHoklch(22.07% 0.067 326.3)
XYZxyz(1.5348, 0.9546, 2.3884)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D2B #0E2B0D
analogous
#1B0D2B #2A0D2B #2B0D1D
triadic
#2A0D2B #2B2A0D #0D2B2A
tetradic
#2A0D2B #2B1B0D #0E2B0D #0D1D2B
square
#2A0D2B #2B1B0D #0E2B0D #0D1D2B
split-complementary
#2A0D2B #1D2B0D #0D2B1B
monochromatic
#170717 #170717 #2A0D2B #581B5A #862989

Accessibility & contrast

On white

17.63
#2A0D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0D2B
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D2B#FFFFFF#000000##FFFFFF
##2A0D2B1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162C
Deuteranopia (green-blind)
#131A2A
Tritanopia (blue-blind)
#2B111A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0d2b;
/* rgb */ color: rgb(42, 13, 43);
/* oklch */ color: oklch(22.1% 0.067 326.3);
Tailwind
colors: {
  custom: {
    50: '#654d64',
    500: '#2a0d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d2b;
$custom-light: #654d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d2b",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 298,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22068,
    "c": 0.06735,
    "h": 326.3
  },
  "luminance": 0.00955
}

Semantic roles & 50–950 ramp

primary
#2A0D2B
secondary
#30662E
accent
#DD4B50
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2A0D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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