#420F59#420F59

#420F59 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.8% C 0.127 H 312.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#420F59
RGBrgb(66, 15, 89)
HSLhsl(281, 71%, 20%)
HSVhsv(281, 83%, 35%)
CMYKcmyk(25.8%, 83.1%, 0%, 65.1%)
CIE-LABlab(16.61, 36.50, -32.97)
CIE-LCHlch(16.61, 49.19, 317.91°)
OKLaboklab(29.75% 0.0855 -0.0933)
OKLCHoklch(29.75% 0.127 312.5)
XYZxyz(4.2204, 2.2213, 9.6557)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F59 #26590F
analogous
#1D0F59 #420F59 #590F4B
triadic
#420F59 #59420F #0F5942
tetradic
#420F59 #591D0F #26590F #0F4B59
square
#420F59 #591D0F #26590F #0F4B59
split-complementary
#420F59 #4B590F #0F591D
monochromatic
#13041A #1B0625 #420F59 #69188D #9021C2

Accessibility & contrast

On white

14.54
#420F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F59
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F59#FFFFFF#000000##FFFFFF
##420F591.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#042A57
Tritanopia (blue-blind)
#3F2134
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #420f59;
/* rgb */ color: rgb(66, 15, 89);
/* oklch */ color: oklch(29.8% 0.127 312.5);
Tailwind
colors: {
  custom: {
    50: '#7a5488',
    500: '#420f59',
    950: '#000000',
  },
}
SCSS
$custom: #420f59;
$custom-light: #7a5488;
$custom-dark: #000000;
JSON
{
  "hex": "#420f59",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 281.351,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29751,
    "c": 0.12656,
    "h": 312.5
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#420F59
secondary
#4F9331
accent
#EE3A72
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420F59

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

Preview Lab → · Contrast checker → · Palette generator →

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