#420B40#420B40

#420B40 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.107 H 329.6°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#420B40
RGBrgb(66, 11, 64)
HSLhsl(302, 71%, 15%)
HSVhsv(302, 83%, 26%)
CMYKcmyk(0%, 83.3%, 3%, 74.1%)
CIE-LABlab(14.22, 32.72, -19.60)
CIE-LCHlch(14.22, 38.15, 329.08°)
OKLaboklab(27.47% 0.0924 -0.0542)
OKLCHoklch(27.47% 0.107 329.6)
XYZxyz(3.2918, 1.7680, 5.0174)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B40 #0B420D
analogous
#290B42 #420B40 #420B24
triadic
#420B40 #40420B #0B4042
tetradic
#420B40 #42290B #0B420D #0B2442
square
#420B40 #42290B #0B420D #0B2442
split-complementary
#420B40 #24420B #0B4229
monochromatic
#1A0419 #1A0419 #420B40 #761473 #AB1CA6

Accessibility & contrast

On white

15.51
#420B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420B40
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B40#FFFFFF#000000##FFFFFF
##420B401.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041F41
Deuteranopia (green-blind)
#1B273F
Tritanopia (blue-blind)
#451325
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420b40;
/* rgb */ color: rgb(66, 11, 64);
/* oklch */ color: oklch(27.5% 0.107 329.6);
Tailwind
colors: {
  custom: {
    50: '#795175',
    500: '#420b40',
    950: '#000000',
  },
}
SCSS
$custom: #420b40;
$custom-light: #795175;
$custom-dark: #000000;
JSON
{
  "hex": "#420b40",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 302.182,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27466,
    "c": 0.1071,
    "h": 329.6
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#420B40
secondary
#2A7F2D
accent
#EE403A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420B40

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

Preview Lab → · Contrast checker → · Palette generator →

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