#420F57#420F57

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

Color values

HEX#420F57
RGBrgb(66, 15, 87)
HSLhsl(283, 71%, 20%)
HSVhsv(283, 83%, 34%)
CMYKcmyk(24.1%, 82.8%, 0%, 65.9%)
CIE-LABlab(16.45, 36.04, -31.88)
CIE-LCHlch(16.45, 48.12, 318.50°)
OKLaboklab(29.58% 0.0859 -0.0901)
OKLCHoklch(29.58% 0.125 313.6)
XYZxyz(4.1376, 2.1882, 9.2194)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F57 #24570F
analogous
#1E0F57 #420F57 #570F48
triadic
#420F57 #57420F #0F5742
tetradic
#420F57 #571E0F #24570F #0F4857
square
#420F57 #571E0F #24570F #0F4857
split-complementary
#420F57 #48570F #0F571E
monochromatic
#14051A #1A0623 #420F57 #6A188B #9121BF

Accessibility & contrast

On white

14.61
#420F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F57
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F57#FFFFFF#000000##FFFFFF
##420F571.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#082A55
Tritanopia (blue-blind)
#402033
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #420f57;
/* rgb */ color: rgb(66, 15, 87);
/* oklch */ color: oklch(29.6% 0.125 313.6);
Tailwind
colors: {
  custom: {
    50: '#7a5487',
    500: '#420f57',
    950: '#000000',
  },
}
SCSS
$custom: #420f57;
$custom-light: #7a5487;
$custom-dark: #000000;
JSON
{
  "hex": "#420f57",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 282.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.29584,
    "c": 0.12452,
    "h": 313.6
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#420F57
secondary
#4D9131
accent
#ED3A6F
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420F57

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

Preview Lab → · Contrast checker → · Palette generator →

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