#420D4D#420D4D

#420D4D is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.117 H 320.0°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#420D4D
RGBrgb(66, 13, 77)
HSLhsl(290, 71%, 18%)
HSVhsv(290, 83%, 30%)
CMYKcmyk(14.3%, 83.1%, 0%, 69.8%)
CIE-LABlab(15.39, 34.60, -26.77)
CIE-LCHlch(15.39, 43.75, 322.27°)
OKLaboklab(28.59% 0.0896 -0.0751)
OKLCHoklch(28.59% 0.117 320)
XYZxyz(3.7301, 1.9821, 7.2058)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D4D #184D0D
analogous
#220D4D #420D4D #4D0D38
triadic
#420D4D #4D420D #0D4D42
tetradic
#420D4D #4D220D #184D0D #0D384D
square
#420D4D #4D220D #184D0D #0D384D
split-complementary
#420D4D #384D0D #0D4D22
monochromatic
#16041A #16041A #420D4D #6F1681 #9C1FB6

Accessibility & contrast

On white

15.04
#420D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#420D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D4D
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D4D#FFFFFF#000000##FFFFFF
##420D4D1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#13284C
Tritanopia (blue-blind)
#421A2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420d4d;
/* rgb */ color: rgb(66, 13, 77);
/* oklch */ color: oklch(28.6% 0.117 320.0);
Tailwind
colors: {
  custom: {
    50: '#79537f',
    500: '#420d4d',
    950: '#000000',
  },
}
SCSS
$custom: #420d4d;
$custom-light: #79537f;
$custom-dark: #000000;
JSON
{
  "hex": "#420d4d",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 289.688,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28594,
    "c": 0.11687,
    "h": 320
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#420D4D
secondary
#3D882E
accent
#EE3A59
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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