#420D50#420D50

#420D50 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.8% C 0.120 H 318.1°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#420D50
RGBrgb(66, 13, 80)
HSLhsl(287, 72%, 18%)
HSVhsv(287, 84%, 31%)
CMYKcmyk(17.5%, 83.7%, 0%, 68.6%)
CIE-LABlab(15.62, 35.25, -28.46)
CIE-LCHlch(15.62, 45.31, 321.08°)
OKLaboklab(28.83% 0.0891 -0.08)
OKLCHoklch(28.83% 0.12 318.1)
XYZxyz(3.8385, 2.0255, 7.7766)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D50 #1B500D
analogous
#200D50 #420D50 #500D3C
triadic
#420D50 #50420D #0D5042
tetradic
#420D50 #50200D #1B500D #0D3C50
square
#420D50 #50200D #1B500D #0D3C50
split-complementary
#420D50 #3C500D #0D5020
monochromatic
#16041A #17041B #420D50 #6D1685 #991EB9

Accessibility & contrast

On white

14.95
#420D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D50
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D50#FFFFFF#000000##FFFFFF
##420D501.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420d50;
/* rgb */ color: rgb(66, 13, 80);
/* oklch */ color: oklch(28.8% 0.120 318.1);
Tailwind
colors: {
  custom: {
    50: '#795381',
    500: '#420d50',
    950: '#000000',
  },
}
SCSS
$custom: #420d50;
$custom-light: #795381;
$custom-dark: #000000;
JSON
{
  "hex": "#420d50",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 287.463,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28827,
    "c": 0.11981,
    "h": 318.1
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#420D50
secondary
#418B2E
accent
#EF395F
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420D50

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

Preview Lab → · Contrast checker → · Palette generator →

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