#420F50#420F50

#420F50 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.117 H 317.9°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#420F50
RGBrgb(66, 15, 80)
HSLhsl(287, 68%, 19%)
HSVhsv(287, 81%, 31%)
CMYKcmyk(17.5%, 81.3%, 0%, 68.6%)
CIE-LABlab(15.90, 34.45, -28.02)
CIE-LCHlch(15.90, 44.41, 320.88°)
OKLaboklab(29.02% 0.0871 -0.0788)
OKLCHoklch(29.02% 0.117 317.9)
XYZxyz(3.8654, 2.0793, 7.7856)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F50 #1D500F
analogous
#210F50 #420F50 #500F3D
triadic
#420F50 #50420F #0F5042
tetradic
#420F50 #50210F #1D500F #0F3D50
square
#420F50 #50210F #1D500F #0F3D50
split-complementary
#420F50 #3D500F #0F5021
monochromatic
#15051A #17051C #420F50 #6D1984 #9722B7

Accessibility & contrast

On white

14.83
#420F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#420F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F50
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F50#FFFFFF#000000##FFFFFF
##420F501.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#12294F
Tritanopia (blue-blind)
#421D2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #420f50;
/* rgb */ color: rgb(66, 15, 80);
/* oklch */ color: oklch(29.0% 0.117 317.9);
Tailwind
colors: {
  custom: {
    50: '#795481',
    500: '#420f50',
    950: '#000000',
  },
}
SCSS
$custom: #420f50;
$custom-light: #795481;
$custom-dark: #000000;
JSON
{
  "hex": "#420f50",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 287.077,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29024,
    "c": 0.11741,
    "h": 317.9
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#420F50
secondary
#448A31
accent
#EB3D62
background
#F7F5F7
surface
#EEE8EE
border
#C9C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420F50

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

Preview Lab → · Contrast checker → · Palette generator →

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