#420E55#420E55

#420E55 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.3% C 0.124 H 314.9°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#420E55
RGBrgb(66, 14, 85)
HSLhsl(284, 72%, 19%)
HSVhsv(284, 84%, 33%)
CMYKcmyk(22.4%, 83.5%, 0%, 66.7%)
CIE-LABlab(16.15, 35.98, -31.01)
CIE-LCHlch(16.15, 47.50, 319.24°)
OKLaboklab(29.32% 0.0873 -0.0875)
OKLCHoklch(29.32% 0.124 314.9)
XYZxyz(4.0432, 2.1284, 8.7904)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E55 #21550E
analogous
#1F0E55 #420E55 #550E45
triadic
#420E55 #55420E #0E5542
tetradic
#420E55 #551F0E #21550E #0E4555
square
#420E55 #551F0E #21550E #0E4555
split-complementary
#420E55 #45550E #0E551F
monochromatic
#14041A #190520 #420E55 #6B178A #941FBE

Accessibility & contrast

On white

14.73
#420E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E55
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E55#FFFFFF#000000##FFFFFF
##420E551.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#0A2953
Tritanopia (blue-blind)
#401E31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #420e55;
/* rgb */ color: rgb(66, 14, 85);
/* oklch */ color: oklch(29.3% 0.124 314.9);
Tailwind
colors: {
  custom: {
    50: '#795385',
    500: '#420e55',
    950: '#000000',
  },
}
SCSS
$custom: #420e55;
$custom-light: #795385;
$custom-dark: #000000;
JSON
{
  "hex": "#420e55",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 283.944,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29323,
    "c": 0.12364,
    "h": 314.9
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#420E55
secondary
#498F30
accent
#EE396A
background
#F7F5F8
surface
#EEE8EF
border
#C9C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420E55

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

Preview Lab → · Contrast checker → · Palette generator →

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