#420D3E#420D3E

#420D3E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.103 H 331.2°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#420D3E
RGBrgb(66, 13, 62)
HSLhsl(305, 67%, 15%)
HSVhsv(305, 80%, 26%)
CMYKcmyk(0%, 80.3%, 6.1%, 74.1%)
CIE-LABlab(14.37, 31.56, -17.95)
CIE-LCHlch(14.37, 36.31, 330.37°)
OKLaboklab(27.53% 0.0901 -0.0494)
OKLCHoklch(27.53% 0.103 331.2)
XYZxyz(3.2602, 1.7942, 4.7311)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D3E #0D4211
analogous
#2B0D42 #420D3E #420D23
triadic
#420D3E #3E420D #0D3E42
tetradic
#420D3E #422B0D #0D4211 #0D2342
square
#420D3E #422B0D #0D4211 #0D2342
split-complementary
#420D3E #23420D #0D422B
monochromatic
#1A0518 #1A0518 #420D3E #75176E #A8219E

Accessibility & contrast

On white

15.45
#420D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#420D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D3E
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D3E#FFFFFF#000000##FFFFFF
##420D3E1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09203F
Deuteranopia (green-blind)
#1D273D
Tritanopia (blue-blind)
#451324
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420d3e;
/* rgb */ color: rgb(66, 13, 62);
/* oklch */ color: oklch(27.5% 0.103 331.2);
Tailwind
colors: {
  custom: {
    50: '#795273',
    500: '#420d3e',
    950: '#000000',
  },
}
SCSS
$custom: #420d3e;
$custom-light: #795273;
$custom-dark: #000000;
JSON
{
  "hex": "#420d3e",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 304.528,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27532,
    "c": 0.10274,
    "h": 331.2
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#420D3E
secondary
#2D7E33
accent
#EA4B3E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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