#420C53#420C53

#420C53 is a dark, vivid purple. Relative luminance 0.020; OKLCH L 29.0% C 0.124 H 316.3°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#420C53
RGBrgb(66, 12, 83)
HSLhsl(286, 75%, 19%)
HSVhsv(286, 86%, 33%)
CMYKcmyk(20.5%, 85.5%, 0%, 67.5%)
CIE-LABlab(15.73, 36.28, -30.34)
CIE-LCHlch(15.73, 47.29, 320.10°)
OKLaboklab(28.98% 0.0896 -0.0855)
OKLCHoklch(28.98% 0.124 316.3)
XYZxyz(3.9393, 2.0459, 8.3693)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C53 #1D530C
analogous
#1E0C53 #420C53 #530C40
triadic
#420C53 #53420C #0C5342
tetradic
#420C53 #531E0C #1D530C #0C4053
square
#420C53 #531E0C #1D530C #0C4053
split-complementary
#420C53 #40530C #0C531E
monochromatic
#15041B #17041E #420C53 #6D1488 #971BBE

Accessibility & contrast

On white

14.90
#420C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C53
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C53#FFFFFF#000000##FFFFFF
##420C531.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#0B2951
Tritanopia (blue-blind)
#411C30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #420c53;
/* rgb */ color: rgb(66, 12, 83);
/* oklch */ color: oklch(29.0% 0.124 316.3);
Tailwind
colors: {
  custom: {
    50: '#795384',
    500: '#420c53',
    950: '#000000',
  },
}
SCSS
$custom: #420c53;
$custom-light: #795384;
$custom-dark: #000000;
JSON
{
  "hex": "#420c53",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 285.634,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28976,
    "c": 0.12386,
    "h": 316.3
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#420C53
secondary
#448E2D
accent
#F13663
background
#F7F4F8
surface
#EEE7EF
border
#C9C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420C53

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

Preview Lab → · Contrast checker → · Palette generator →

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