#420D3A#420D3A

#420D3A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.3% C 0.099 H 334.7°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#420D3A
RGBrgb(66, 13, 58)
HSLhsl(309, 67%, 15%)
HSVhsv(309, 80%, 26%)
CMYKcmyk(0%, 80.3%, 12.1%, 74.1%)
CIE-LABlab(14.13, 30.82, -15.49)
CIE-LCHlch(14.13, 34.50, 333.31°)
OKLaboklab(27.28% 0.0897 -0.0423)
OKLCHoklch(27.28% 0.099 334.7)
XYZxyz(3.1544, 1.7519, 4.1742)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D3A #0D4215
analogous
#2F0D42 #420D3A #420D1F
triadic
#420D3A #3A420D #0D3A42
tetradic
#420D3A #422F0D #0D4215 #0D1F42
square
#420D3A #422F0D #0D4215 #0D1F42
split-complementary
#420D3A #1F420D #0D422F
monochromatic
#1A0516 #1A0516 #420D3A #751767 #A82194

Accessibility & contrast

On white

15.55
#420D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D3A
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D3A#FFFFFF#000000##FFFFFF
##420D3A1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1F3B
Deuteranopia (green-blind)
#1F2739
Tritanopia (blue-blind)
#461122
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420d3a;
/* rgb */ color: rgb(66, 13, 58);
/* oklch */ color: oklch(27.3% 0.099 334.7);
Tailwind
colors: {
  custom: {
    50: '#795270',
    500: '#420d3a',
    950: '#000000',
  },
}
SCSS
$custom: #420d3a;
$custom-light: #795270;
$custom-dark: #000000;
JSON
{
  "hex": "#420d3a",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 309.057,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2728,
    "c": 0.09923,
    "h": 334.7
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#420D3A
secondary
#2D7E39
accent
#EA583E
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420D3A

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

Preview Lab → · Contrast checker → · Palette generator →

#420D3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva