#420D59#420D59

#420D59 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.6% C 0.129 H 312.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#420D59
RGBrgb(66, 13, 89)
HSLhsl(282, 75%, 20%)
HSVhsv(282, 85%, 35%)
CMYKcmyk(25.8%, 85.4%, 0%, 65.1%)
CIE-LABlab(16.34, 37.27, -33.40)
CIE-LCHlch(16.34, 50.04, 318.14°)
OKLaboklab(29.56% 0.0874 -0.0945)
OKLCHoklch(29.56% 0.129 312.8)
XYZxyz(4.1935, 2.1675, 9.6467)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D59 #24590D
analogous
#1C0D59 #420D59 #590D4A
triadic
#420D59 #59420D #0D5942
tetradic
#420D59 #591C0D #24590D #0D4A59
square
#420D59 #591C0D #24590D #0D4A59
split-complementary
#420D59 #4A590D #0D591C
monochromatic
#14041B #1A0524 #420D59 #6A158E #911DC4

Accessibility & contrast

On white

14.65
#420D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#420D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D59
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D59#FFFFFF#000000##FFFFFF
##420D591.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420d59;
/* rgb */ color: rgb(66, 13, 89);
/* oklch */ color: oklch(29.6% 0.129 312.8);
Tailwind
colors: {
  custom: {
    50: '#7a5388',
    500: '#420d59',
    950: '#000000',
  },
}
SCSS
$custom: #420d59;
$custom-light: #7a5388;
$custom-dark: #000000;
JSON
{
  "hex": "#420d59",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 89
  },
  "hsl": {
    "h": 281.842,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.29564,
    "c": 0.12875,
    "h": 312.8
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#420D59
secondary
#4D932E
accent
#F1376F
background
#F7F5F8
surface
#EEE8F0
border
#C9C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420D59

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

Preview Lab → · Contrast checker → · Palette generator →

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