#420A4A#420A4A

#420A4A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.117 H 322.3°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#420A4A
RGBrgb(66, 10, 74)
HSLhsl(293, 76%, 16%)
HSVhsv(293, 86%, 29%)
CMYKcmyk(10.8%, 86.5%, 0%, 71%)
CIE-LABlab(14.79, 35.06, -25.67)
CIE-LCHlch(14.79, 43.46, 323.79°)
OKLaboklab(28.1% 0.0928 -0.0719)
OKLCHoklch(28.1% 0.117 322.3)
XYZxyz(3.5912, 1.8700, 6.6490)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A4A #124A0A
analogous
#220A4A #420A4A #4A0A32
triadic
#420A4A #4A420A #0A4A42
tetradic
#420A4A #4A220A #124A0A #0A324A
square
#420A4A #4A220A #124A0A #0A324A
split-complementary
#420A4A #324A0A #0A4A22
monochromatic
#18041B #18041B #420A4A #721180 #A219B6

Accessibility & contrast

On white

15.28
#420A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420A4A
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A4A#FFFFFF#000000##FFFFFF
##420A4A1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#142749
Tritanopia (blue-blind)
#43172A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420a4a;
/* rgb */ color: rgb(66, 10, 74);
/* oklch */ color: oklch(28.1% 0.117 322.3);
Tailwind
colors: {
  custom: {
    50: '#79517d',
    500: '#420a4a',
    950: '#000000',
  },
}
SCSS
$custom: #420a4a;
$custom-light: #79517d;
$custom-dark: #000000;
JSON
{
  "hex": "#420a4a",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 292.5,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28095,
    "c": 0.1174,
    "h": 322.3
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#420A4A
secondary
#358729
accent
#F3354D
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #420A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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