#420A44#420A44

#420A44 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.112 H 326.5°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#420A44
RGBrgb(66, 10, 68)
HSLhsl(298, 74%, 15%)
HSVhsv(298, 85%, 27%)
CMYKcmyk(2.9%, 85.3%, 0%, 73.3%)
CIE-LABlab(14.36, 33.86, -22.18)
CIE-LCHlch(14.36, 40.48, 326.77°)
OKLaboklab(27.65% 0.0933 -0.0617)
OKLCHoklch(27.65% 0.112 326.5)
XYZxyz(3.3986, 1.7929, 5.6348)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A44 #0C440A
analogous
#250A44 #420A44 #440A29
triadic
#420A44 #44420A #0A4442
tetradic
#420A44 #44250A #0C440A #0A2944
square
#420A44 #44250A #0C440A #0A2944
split-complementary
#420A44 #29440A #0A4425
monochromatic
#1A041B #1A041B #420A44 #761279 #AA1AAF

Accessibility & contrast

On white

15.46
#420A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#420A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420A44
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A44#FFFFFF#000000##FFFFFF
##420A441.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#192743
Tritanopia (blue-blind)
#441427
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420a44;
/* rgb */ color: rgb(66, 10, 68);
/* oklch */ color: oklch(27.7% 0.112 326.5);
Tailwind
colors: {
  custom: {
    50: '#795178',
    500: '#420a44',
    950: '#000000',
  },
}
SCSS
$custom: #420a44;
$custom-light: #795178;
$custom-dark: #000000;
JSON
{
  "hex": "#420a44",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 297.931,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27653,
    "c": 0.11187,
    "h": 326.5
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#420A44
secondary
#2C8129
accent
#F1373D
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420A44

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

Preview Lab → · Contrast checker → · Palette generator →

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