#420E4D#420E4D

#420E4D is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.116 H 319.9°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#420E4D
RGBrgb(66, 14, 77)
HSLhsl(290, 69%, 18%)
HSVhsv(290, 82%, 30%)
CMYKcmyk(14.3%, 81.8%, 0%, 69.8%)
CIE-LABlab(15.53, 34.20, -26.55)
CIE-LCHlch(15.53, 43.30, 322.18°)
OKLaboklab(28.69% 0.0885 -0.0745)
OKLCHoklch(28.69% 0.116 319.9)
XYZxyz(3.7432, 2.0083, 7.2102)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E4D #194D0E
analogous
#220E4D #420E4D #4D0E38
triadic
#420E4D #4D420E #0E4D42
tetradic
#420E4D #4D220E #194D0E #0E384D
square
#420E4D #4D220E #194D0E #0E384D
split-complementary
#420E4D #384D0E #0E4D22
monochromatic
#16051A #16051A #420E4D #6E1781 #9B21B5

Accessibility & contrast

On white

14.98
#420E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E4D
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E4D#FFFFFF#000000##FFFFFF
##420E4D1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#421B2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #420e4d;
/* rgb */ color: rgb(66, 14, 77);
/* oklch */ color: oklch(28.7% 0.116 319.9);
Tailwind
colors: {
  custom: {
    50: '#79537f',
    500: '#420e4d',
    950: '#000000',
  },
}
SCSS
$custom: #420e4d;
$custom-light: #79537f;
$custom-dark: #000000;
JSON
{
  "hex": "#420e4d",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 289.524,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28692,
    "c": 0.11566,
    "h": 319.9
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#420E4D
secondary
#3F882F
accent
#EC3C5B
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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