#420B4A#420B4A

#420B4A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.116 H 322.2°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#420B4A
RGBrgb(66, 11, 74)
HSLhsl(292, 74%, 17%)
HSVhsv(292, 85%, 29%)
CMYKcmyk(10.8%, 85.1%, 0%, 71%)
CIE-LABlab(14.91, 34.71, -25.48)
CIE-LCHlch(14.91, 43.06, 323.72°)
OKLaboklab(28.18% 0.0919 -0.0713)
OKLCHoklch(28.18% 0.116 322.2)
XYZxyz(3.6023, 1.8922, 6.6527)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B4A #134A0B
analogous
#230B4A #420B4A #4A0B33
triadic
#420B4A #4A420B #0B4A42
tetradic
#420B4A #4A230B #134A0B #0B334A
square
#420B4A #4A230B #134A0B #0B334A
split-complementary
#420B4A #334A0B #0B4A23
monochromatic
#18041B #18041B #420B4A #72137F #A11BB5

Accessibility & contrast

On white

15.24
#420B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#420B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420B4A
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B4A#FFFFFF#000000##FFFFFF
##420B4A1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#152849
Tritanopia (blue-blind)
#43182A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420b4a;
/* rgb */ color: rgb(66, 11, 74);
/* oklch */ color: oklch(28.2% 0.116 322.2);
Tailwind
colors: {
  custom: {
    50: '#79527d',
    500: '#420b4a',
    950: '#000000',
  },
}
SCSS
$custom: #420b4a;
$custom-light: #79527d;
$custom-dark: #000000;
JSON
{
  "hex": "#420b4a",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 292.381,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28181,
    "c": 0.1163,
    "h": 322.2
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#420B4A
secondary
#36862B
accent
#F1374F
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #420B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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