#420E59#420E59

#420E59 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.7% C 0.128 H 312.6°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#420E59
RGBrgb(66, 14, 89)
HSLhsl(282, 73%, 20%)
HSVhsv(282, 84%, 35%)
CMYKcmyk(25.8%, 84.3%, 0%, 65.1%)
CIE-LABlab(16.47, 36.89, -33.19)
CIE-LCHlch(16.47, 49.62, 318.03°)
OKLaboklab(29.65% 0.0865 -0.0939)
OKLCHoklch(29.65% 0.128 312.6)
XYZxyz(4.2066, 2.1937, 9.6511)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E59 #25590E
analogous
#1C0E59 #420E59 #590E4A
triadic
#420E59 #59420E #0E5942
tetradic
#420E59 #591C0E #25590E #0E4A59
square
#420E59 #591C0E #25590E #0E4A59
split-complementary
#420E59 #4A590E #0E591C
monochromatic
#14041A #1B0624 #420E59 #69168E #901FC3

Accessibility & contrast

On white

14.60
#420E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#420E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E59
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E59#FFFFFF#000000##FFFFFF
##420E591.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#032A57
Tritanopia (blue-blind)
#3F2033
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #420e59;
/* rgb */ color: rgb(66, 14, 89);
/* oklch */ color: oklch(29.7% 0.128 312.6);
Tailwind
colors: {
  custom: {
    50: '#7a5488',
    500: '#420e59',
    950: '#000000',
  },
}
SCSS
$custom: #420e59;
$custom-light: #7a5488;
$custom-dark: #000000;
JSON
{
  "hex": "#420e59",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 89
  },
  "hsl": {
    "h": 281.6,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29655,
    "c": 0.12768,
    "h": 312.6
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#420E59
secondary
#4E9330
accent
#F03870
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420E59

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

Preview Lab → · Contrast checker → · Palette generator →

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