#420A47#420A47

#420A47 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.115 H 324.4°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#420A47
RGBrgb(66, 10, 71)
HSLhsl(295, 75%, 16%)
HSVhsv(295, 86%, 28%)
CMYKcmyk(7%, 85.9%, 0%, 72.2%)
CIE-LABlab(14.57, 34.45, -23.94)
CIE-LCHlch(14.57, 41.96, 325.21°)
OKLaboklab(27.87% 0.0931 -0.0668)
OKLCHoklch(27.87% 0.115 324.4)
XYZxyz(3.4925, 1.8305, 6.1294)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A47 #0F470A
analogous
#230A47 #420A47 #470A2D
triadic
#420A47 #47420A #0A4742
tetradic
#420A47 #47230A #0F470A #0A2D47
square
#420A47 #47230A #0F470A #0A2D47
split-complementary
#420A47 #2D470A #0A4723
monochromatic
#19041B #19041B #420A47 #74127D #A619B2

Accessibility & contrast

On white

15.37
#420A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#420A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420A47
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A47#FFFFFF#000000##FFFFFF
##420A471.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#162746
Tritanopia (blue-blind)
#431628
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420a47;
/* rgb */ color: rgb(66, 10, 71);
/* oklch */ color: oklch(27.9% 0.115 324.4);
Tailwind
colors: {
  custom: {
    50: '#79517a',
    500: '#420a47',
    950: '#000000',
  },
}
SCSS
$custom: #420a47;
$custom-light: #79517a;
$custom-dark: #000000;
JSON
{
  "hex": "#420a47",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 295.082,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27871,
    "c": 0.11462,
    "h": 324.4
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#420A47
secondary
#308429
accent
#F23645
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420A47

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

Preview Lab → · Contrast checker → · Palette generator →

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