#420F54#420F54

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

Color values

HEX#420F54
RGBrgb(66, 15, 84)
HSLhsl(284, 70%, 19%)
HSVhsv(284, 82%, 33%)
CMYKcmyk(21.4%, 82.1%, 0%, 67.1%)
CIE-LABlab(16.21, 35.35, -30.24)
CIE-LCHlch(16.21, 46.52, 319.46°)
OKLaboklab(29.34% 0.0865 -0.0853)
OKLCHoklch(29.34% 0.121 315.4)
XYZxyz(4.0176, 2.1401, 8.5872)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F54 #21540F
analogous
#200F54 #420F54 #540F44
triadic
#420F54 #54420F #0F5442
tetradic
#420F54 #54200F #21540F #0F4454
square
#420F54 #54200F #21540F #0F4454
split-complementary
#420F54 #44540F #0F5420
monochromatic
#14051A #190620 #420F54 #6B1888 #9422BC

Accessibility & contrast

On white

14.71
#420F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F54
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F54#FFFFFF#000000##FFFFFF
##420F541.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#0D2A53
Tritanopia (blue-blind)
#411E31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #420f54;
/* rgb */ color: rgb(66, 15, 84);
/* oklch */ color: oklch(29.3% 0.121 315.4);
Tailwind
colors: {
  custom: {
    50: '#795485',
    500: '#420f54',
    950: '#000000',
  },
}
SCSS
$custom: #420f54;
$custom-light: #795485;
$custom-dark: #000000;
JSON
{
  "hex": "#420f54",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 284.348,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2934,
    "c": 0.12146,
    "h": 315.4
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#420F54
secondary
#498E31
accent
#ED3B6A
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420F54

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

Preview Lab → · Contrast checker → · Palette generator →

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