#420E53#420E53

#420E53 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.2% C 0.122 H 316.1°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#420E53
RGBrgb(66, 14, 83)
HSLhsl(285, 71%, 19%)
HSVhsv(285, 83%, 33%)
CMYKcmyk(20.5%, 83.1%, 0%, 67.5%)
CIE-LABlab(15.99, 35.53, -29.91)
CIE-LCHlch(15.99, 46.44, 319.90°)
OKLaboklab(29.16% 0.0877 -0.0843)
OKLCHoklch(29.16% 0.122 316.1)
XYZxyz(3.9649, 2.0970, 8.3778)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E53 #1F530E
analogous
#200E53 #420E53 #530E42
triadic
#420E53 #53420E #0E5342
tetradic
#420E53 #53200E #1F530E #0E4253
square
#420E53 #53200E #1F530E #0E4253
split-complementary
#420E53 #42530E #0E5320
monochromatic
#15041A #18051F #420E53 #6C1787 #9520BC

Accessibility & contrast

On white

14.79
#420E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E53
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E53#FFFFFF#000000##FFFFFF
##420E531.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#0D2952
Tritanopia (blue-blind)
#411D30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #420e53;
/* rgb */ color: rgb(66, 14, 83);
/* oklch */ color: oklch(29.2% 0.122 316.1);
Tailwind
colors: {
  custom: {
    50: '#795384',
    500: '#420e53',
    950: '#000000',
  },
}
SCSS
$custom: #420e53;
$custom-light: #795384;
$custom-dark: #000000;
JSON
{
  "hex": "#420e53",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 285.217,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29161,
    "c": 0.12163,
    "h": 316.1
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#420E53
secondary
#478D2F
accent
#EE3A66
background
#F7F5F8
surface
#EEE8EF
border
#C9C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420E53

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

Preview Lab → · Contrast checker → · Palette generator →

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