#420D56#420D56

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

Color values

HEX#420D56
RGBrgb(66, 13, 86)
HSLhsl(284, 74%, 19%)
HSVhsv(284, 85%, 34%)
CMYKcmyk(23.3%, 84.9%, 0%, 66.3%)
CIE-LABlab(16.10, 36.59, -31.77)
CIE-LCHlch(16.10, 48.46, 319.03°)
OKLaboklab(29.31% 0.0881 -0.0898)
OKLCHoklch(29.31% 0.126 314.4)
XYZxyz(4.0701, 2.1181, 8.9967)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D56 #21560D
analogous
#1E0D56 #420D56 #560D46
triadic
#420D56 #56420D #0D5642
tetradic
#420D56 #561E0D #21560D #0D4656
square
#420D56 #561E0D #21560D #0D4656
split-complementary
#420D56 #46560D #0D561E
monochromatic
#14041B #190521 #420D56 #6B158B #941DC0

Accessibility & contrast

On white

14.75
#420D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D56
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D56#FFFFFF#000000##FFFFFF
##420D561.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#072954
Tritanopia (blue-blind)
#401E32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #420d56;
/* rgb */ color: rgb(66, 13, 86);
/* oklch */ color: oklch(29.3% 0.126 314.4);
Tailwind
colors: {
  custom: {
    50: '#7a5386',
    500: '#420d56',
    950: '#000000',
  },
}
SCSS
$custom: #420d56;
$custom-light: #7a5386;
$custom-dark: #000000;
JSON
{
  "hex": "#420d56",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 283.562,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29312,
    "c": 0.12575,
    "h": 314.4
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#420D56
secondary
#49912E
accent
#F0376A
background
#F7F4F8
surface
#EEE8EF
border
#C9C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420D56

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

Preview Lab → · Contrast checker → · Palette generator →

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