#420E5A#420E5A

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

Color values

HEX#420E5A
RGBrgb(66, 14, 90)
HSLhsl(281, 73%, 20%)
HSVhsv(281, 84%, 35%)
CMYKcmyk(26.7%, 84.4%, 0%, 64.7%)
CIE-LABlab(16.56, 37.13, -33.72)
CIE-LCHlch(16.56, 50.16, 317.75°)
OKLaboklab(29.74% 0.0862 -0.0955)
OKLCHoklch(29.74% 0.129 312.1)
XYZxyz(4.2489, 2.2106, 9.8737)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E5A #265A0E
analogous
#1C0E5A #420E5A #5A0E4C
triadic
#420E5A #5A420E #0E5A42
tetradic
#420E5A #5A1C0E #265A0E #0E4C5A
square
#420E5A #5A1C0E #265A0E #0E4C5A
split-complementary
#420E5A #4C5A0E #0E5A1C
monochromatic
#13041A #1B0625 #420E5A #69168F #901EC4

Accessibility & contrast

On white

14.56
#420E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E5A
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E5A#FFFFFF#000000##FFFFFF
##420E5A1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#022A58
Tritanopia (blue-blind)
#3F2134
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #420e5a;
/* rgb */ color: rgb(66, 14, 90);
/* oklch */ color: oklch(29.7% 0.129 312.1);
Tailwind
colors: {
  custom: {
    50: '#7a5489',
    500: '#420e5a',
    950: '#000000',
  },
}
SCSS
$custom: #420e5a;
$custom-light: #7a5489;
$custom-dark: #000000;
JSON
{
  "hex": "#420e5a",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 281.053,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2974,
    "c": 0.12869,
    "h": 312.1
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#420E5A
secondary
#4F9430
accent
#F03872
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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