#420F55#420F55

#420F55 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.4% C 0.122 H 314.8°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#420F55
RGBrgb(66, 15, 85)
HSLhsl(284, 70%, 20%)
HSVhsv(284, 82%, 33%)
CMYKcmyk(22.4%, 82.4%, 0%, 66.7%)
CIE-LABlab(16.29, 35.58, -30.79)
CIE-LCHlch(16.29, 47.05, 319.13°)
OKLaboklab(29.42% 0.0863 -0.0869)
OKLCHoklch(29.42% 0.122 314.8)
XYZxyz(4.0570, 2.1559, 8.7950)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F55 #22550F
analogous
#1F0F55 #420F55 #550F45
triadic
#420F55 #55420F #0F5542
tetradic
#420F55 #551F0F #22550F #0F4555
square
#420F55 #551F0F #22550F #0F4555
split-complementary
#420F55 #45550F #0F551F
monochromatic
#14051A #1A0621 #420F55 #6A1889 #9321BD

Accessibility & contrast

On white

14.67
#420F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#420F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F55
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F55#FFFFFF#000000##FFFFFF
##420F551.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#0B2A54
Tritanopia (blue-blind)
#401F31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #420f55;
/* rgb */ color: rgb(66, 15, 85);
/* oklch */ color: oklch(29.4% 0.122 314.8);
Tailwind
colors: {
  custom: {
    50: '#795485',
    500: '#420f55',
    950: '#000000',
  },
}
SCSS
$custom: #420f55;
$custom-light: #795485;
$custom-dark: #000000;
JSON
{
  "hex": "#420f55",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 283.714,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29421,
    "c": 0.12248,
    "h": 314.8
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#420F55
secondary
#4A8F31
accent
#ED3B6B
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420F55

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

Preview Lab → · Contrast checker → · Palette generator →

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