#420B56#420B56

#420B56 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.1% C 0.128 H 314.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#420B56
RGBrgb(66, 11, 86)
HSLhsl(284, 77%, 19%)
HSVhsv(284, 87%, 34%)
CMYKcmyk(23.3%, 87.2%, 0%, 66.3%)
CIE-LABlab(15.85, 37.30, -32.17)
CIE-LCHlch(15.85, 49.26, 319.22°)
OKLaboklab(29.14% 0.0898 -0.0909)
OKLCHoklch(29.14% 0.128 314.7)
XYZxyz(4.0459, 2.0696, 8.9887)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B56 #1F560B
analogous
#1D0B56 #420B56 #560B45
triadic
#420B56 #56420B #0B5642
tetradic
#420B56 #561D0B #1F560B #0B4556
square
#420B56 #561D0B #1F560B #0B4556
split-complementary
#420B56 #45560B #0B561D
monochromatic
#15031B #180420 #420B56 #6C128C #9519C3

Accessibility & contrast

On white

14.85
#420B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#420B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420B56
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B56#FFFFFF#000000##FFFFFF
##420B561.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#062954
Tritanopia (blue-blind)
#401D31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #420b56;
/* rgb */ color: rgb(66, 11, 86);
/* oklch */ color: oklch(29.1% 0.128 314.7);
Tailwind
colors: {
  custom: {
    50: '#7a5286',
    500: '#420b56',
    950: '#000000',
  },
}
SCSS
$custom: #420b56;
$custom-light: #7a5286;
$custom-dark: #000000;
JSON
{
  "hex": "#420b56",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 284,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29139,
    "c": 0.12783,
    "h": 314.7
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#420B56
secondary
#47912B
accent
#F43467
background
#F7F4F8
surface
#EEE7EF
border
#C9C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420B56

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

Preview Lab → · Contrast checker → · Palette generator →

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