#2A0D2C#2A0D2C

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

Color values

HEX#2A0D2C
RGBrgb(42, 13, 44)
HSLhsl(296, 54%, 11%)
HSVhsv(296, 70%, 17%)
CMYKcmyk(4.5%, 70.5%, 0%, 82.7%)
CIE-LABlab(8.67, 20.55, -14.20)
CIE-LCHlch(8.67, 24.98, 325.34°)
OKLaboklab(22.14% 0.0561 -0.0393)
OKLCHoklch(22.14% 0.069 325)
XYZxyz(1.5534, 0.9620, 2.4863)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D2C #0F2C0D
analogous
#1A0D2C #2A0D2C #2C0D1E
triadic
#2A0D2C #2C2A0D #0D2C2A
tetradic
#2A0D2C #2C1A0D #0F2C0D #0D1E2C
square
#2A0D2C #2C1A0D #0F2C0D #0D1E2C
split-complementary
#2A0D2C #1E2C0D #0D2C1A
monochromatic
#170718 #170718 #2A0D2C #571B5B #84298A

Accessibility & contrast

On white

17.61
#2A0D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0D2C
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D2C#FFFFFF#000000##FFFFFF
##2A0D2C1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172D
Deuteranopia (green-blind)
#121A2B
Tritanopia (blue-blind)
#2B111A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0d2c;
/* rgb */ color: rgb(42, 13, 44);
/* oklch */ color: oklch(22.1% 0.069 325.0);
Tailwind
colors: {
  custom: {
    50: '#654d65',
    500: '#2a0d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d2c;
$custom-light: #654d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d2c",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 296.129,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22135,
    "c": 0.06852,
    "h": 325
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#2A0D2C
secondary
#32672E
accent
#DE4A54
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2A0D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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