#420E54#420E54

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

Color values

HEX#420E54
RGBrgb(66, 14, 84)
HSLhsl(285, 71%, 19%)
HSVhsv(285, 83%, 33%)
CMYKcmyk(21.4%, 83.3%, 0%, 67.1%)
CIE-LABlab(16.07, 35.75, -30.46)
CIE-LCHlch(16.07, 46.97, 319.56°)
OKLaboklab(29.24% 0.0875 -0.0859)
OKLCHoklch(29.24% 0.123 315.5)
XYZxyz(4.0038, 2.1126, 8.5827)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E54 #20540E
analogous
#1F0E54 #420E54 #540E43
triadic
#420E54 #54420E #0E5442
tetradic
#420E54 #541F0E #20540E #0E4354
square
#420E54 #541F0E #20540E #0E4354
split-complementary
#420E54 #43540E #0E541F
monochromatic
#15041A #190520 #420E54 #6B1788 #941FBD

Accessibility & contrast

On white

14.76
#420E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E54
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E54#FFFFFF#000000##FFFFFF
##420E541.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420e54;
/* rgb */ color: rgb(66, 14, 84);
/* oklch */ color: oklch(29.2% 0.123 315.5);
Tailwind
colors: {
  custom: {
    50: '#795385',
    500: '#420e54',
    950: '#000000',
  },
}
SCSS
$custom: #420e54;
$custom-light: #795385;
$custom-dark: #000000;
JSON
{
  "hex": "#420e54",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 284.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29242,
    "c": 0.12264,
    "h": 315.5
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#420E54
secondary
#488E2F
accent
#EE3A68
background
#F7F5F8
surface
#EEE8EF
border
#C9C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420E54

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

Preview Lab → · Contrast checker → · Palette generator →

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