#420E50#420E50

#420E50 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.119 H 318.0°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#420E50
RGBrgb(66, 14, 80)
HSLhsl(287, 70%, 18%)
HSVhsv(287, 83%, 31%)
CMYKcmyk(17.5%, 82.5%, 0%, 68.6%)
CIE-LABlab(15.76, 34.86, -28.24)
CIE-LCHlch(15.76, 44.87, 320.99°)
OKLaboklab(28.92% 0.0881 -0.0794)
OKLCHoklch(28.92% 0.119 318)
XYZxyz(3.8516, 2.0517, 7.7810)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E50 #1C500E
analogous
#210E50 #420E50 #500E3D
triadic
#420E50 #50420E #0E5042
tetradic
#420E50 #50210E #1C500E #0E3D50
square
#420E50 #50210E #1C500E #0E3D50
split-complementary
#420E50 #3D500E #0E5021
monochromatic
#15051A #17051C #420E50 #6D1784 #9820B8

Accessibility & contrast

On white

14.89
#420E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#420E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E50
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E50#FFFFFF#000000##FFFFFF
##420E501.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#11294F
Tritanopia (blue-blind)
#421C2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #420e50;
/* rgb */ color: rgb(66, 14, 80);
/* oklch */ color: oklch(28.9% 0.119 318.0);
Tailwind
colors: {
  custom: {
    50: '#795381',
    500: '#420e50',
    950: '#000000',
  },
}
SCSS
$custom: #420e50;
$custom-light: #795381;
$custom-dark: #000000;
JSON
{
  "hex": "#420e50",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 287.273,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28923,
    "c": 0.11864,
    "h": 318
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#420E50
secondary
#438B2F
accent
#ED3B61
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420E50

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

Preview Lab → · Contrast checker → · Palette generator →

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