#420E56#420E56

#420E56 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.4% C 0.125 H 314.3°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#420E56
RGBrgb(66, 14, 86)
HSLhsl(283, 72%, 20%)
HSVhsv(283, 84%, 34%)
CMYKcmyk(23.3%, 83.7%, 0%, 66.3%)
CIE-LABlab(16.23, 36.20, -31.56)
CIE-LCHlch(16.23, 48.03, 318.92°)
OKLaboklab(29.4% 0.0871 -0.0891)
OKLCHoklch(29.4% 0.125 314.3)
XYZxyz(4.0832, 2.1444, 9.0011)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E56 #22560E
analogous
#1E0E56 #420E56 #560E46
triadic
#420E56 #56420E #0E5642
tetradic
#420E56 #561E0E #22560E #0E4656
square
#420E56 #561E0E #22560E #0E4656
split-complementary
#420E56 #46560E #0E561E
monochromatic
#14041A #1A0521 #420E56 #6A178B #931FBF

Accessibility & contrast

On white

14.70
#420E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E56
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E56#FFFFFF#000000##FFFFFF
##420E561.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#082954
Tritanopia (blue-blind)
#401F32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #420e56;
/* rgb */ color: rgb(66, 14, 86);
/* oklch */ color: oklch(29.4% 0.125 314.3);
Tailwind
colors: {
  custom: {
    50: '#7a5386',
    500: '#420e56',
    950: '#000000',
  },
}
SCSS
$custom: #420e56;
$custom-light: #7a5386;
$custom-dark: #000000;
JSON
{
  "hex": "#420e56",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 283.333,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29405,
    "c": 0.12464,
    "h": 314.3
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#420E56
secondary
#4A9030
accent
#EF396C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420E56

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

Preview Lab → · Contrast checker → · Palette generator →

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