#420D55#420D55

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

Color values

HEX#420D55
RGBrgb(66, 13, 85)
HSLhsl(284, 73%, 19%)
HSVhsv(284, 85%, 33%)
CMYKcmyk(22.4%, 84.7%, 0%, 66.7%)
CIE-LABlab(16.01, 36.36, -31.23)
CIE-LCHlch(16.01, 47.93, 319.34°)
OKLaboklab(29.23% 0.0883 -0.0882)
OKLCHoklch(29.23% 0.125 315)
XYZxyz(4.0301, 2.1021, 8.7860)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D55 #20550D
analogous
#1E0D55 #420D55 #550D44
triadic
#420D55 #55420D #0D5542
tetradic
#420D55 #551E0D #20550D #0D4455
square
#420D55 #551E0D #20550D #0D4455
split-complementary
#420D55 #44550D #0D551E
monochromatic
#15041B #190520 #420D55 #6B158A #941DBF

Accessibility & contrast

On white

14.78
#420D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D55
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D55#FFFFFF#000000##FFFFFF
##420D551.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#092953
Tritanopia (blue-blind)
#401E31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #420d55;
/* rgb */ color: rgb(66, 13, 85);
/* oklch */ color: oklch(29.2% 0.125 315.0);
Tailwind
colors: {
  custom: {
    50: '#7a5385',
    500: '#420d55',
    950: '#000000',
  },
}
SCSS
$custom: #420d55;
$custom-light: #7a5385;
$custom-dark: #000000;
JSON
{
  "hex": "#420d55",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 284.167,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2923,
    "c": 0.12475,
    "h": 315
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#420D55
secondary
#48902E
accent
#F03868
background
#F7F4F8
surface
#EEE8EF
border
#C9C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420D55

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

Preview Lab → · Contrast checker → · Palette generator →

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