#420D3D#420D3D

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

Color values

HEX#420D3D
RGBrgb(66, 13, 61)
HSLhsl(306, 67%, 15%)
HSVhsv(306, 80%, 26%)
CMYKcmyk(0%, 80.3%, 7.6%, 74.1%)
CIE-LABlab(14.31, 31.37, -17.34)
CIE-LCHlch(14.31, 35.85, 331.07°)
OKLaboklab(27.47% 0.09 -0.0477)
OKLCHoklch(27.47% 0.102 332.1)
XYZxyz(3.2330, 1.7833, 4.5879)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D3D #0D4212
analogous
#2C0D42 #420D3D #420D22
triadic
#420D3D #3D420D #0D3D42
tetradic
#420D3D #422C0D #0D4212 #0D2242
square
#420D3D #422C0D #0D4212 #0D2242
split-complementary
#420D3D #22420D #0D422C
monochromatic
#1A0518 #1A0518 #420D3D #75176C #A8219C

Accessibility & contrast

On white

15.48
#420D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D3D
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D3D#FFFFFF#000000##FFFFFF
##420D3D1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1F3E
Deuteranopia (green-blind)
#1E273C
Tritanopia (blue-blind)
#451324
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420d3d;
/* rgb */ color: rgb(66, 13, 61);
/* oklch */ color: oklch(27.5% 0.102 332.1);
Tailwind
colors: {
  custom: {
    50: '#795272',
    500: '#420d3d',
    950: '#000000',
  },
}
SCSS
$custom: #420d3d;
$custom-light: #795272;
$custom-dark: #000000;
JSON
{
  "hex": "#420d3d",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 305.66,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27468,
    "c": 0.10185,
    "h": 332.1
  },
  "luminance": 0.01783
}

Semantic roles & 50–950 ramp

primary
#420D3D
secondary
#2D7E35
accent
#EA4E3E
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #420D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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