#420F53#420F53

#420F53 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.3% C 0.120 H 316.0°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#420F53
RGBrgb(66, 15, 83)
HSLhsl(285, 69%, 19%)
HSVhsv(285, 82%, 33%)
CMYKcmyk(20.5%, 81.9%, 0%, 67.5%)
CIE-LABlab(16.13, 35.13, -29.69)
CIE-LCHlch(16.13, 45.99, 319.80°)
OKLaboklab(29.26% 0.0866 -0.0837)
OKLCHoklch(29.26% 0.12 316)
XYZxyz(3.9787, 2.1246, 8.3824)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F53 #20530F
analogous
#200F53 #420F53 #530F42
triadic
#420F53 #53420F #0F5342
tetradic
#420F53 #53200F #20530F #0F4253
square
#420F53 #53200F #20530F #0F4253
split-complementary
#420F53 #42530F #0F5320
monochromatic
#15051A #19061F #420F53 #6B1887 #9422BB

Accessibility & contrast

On white

14.74
#420F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F53
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F53#FFFFFF#000000##FFFFFF
##420F531.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420f53;
/* rgb */ color: rgb(66, 15, 83);
/* oklch */ color: oklch(29.3% 0.120 316.0);
Tailwind
colors: {
  custom: {
    50: '#795484',
    500: '#420f53',
    950: '#000000',
  },
}
SCSS
$custom: #420f53;
$custom-light: #795484;
$custom-dark: #000000;
JSON
{
  "hex": "#420f53",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 285,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2926,
    "c": 0.12044,
    "h": 316
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#420F53
secondary
#488D31
accent
#EC3C68
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420F53

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

Preview Lab → · Contrast checker → · Palette generator →

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