#420B47#420B47

#420B47 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.113 H 324.3°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#420B47
RGBrgb(66, 11, 71)
HSLhsl(295, 73%, 16%)
HSVhsv(295, 85%, 28%)
CMYKcmyk(7%, 84.5%, 0%, 72.2%)
CIE-LABlab(14.70, 34.10, -23.74)
CIE-LCHlch(14.70, 41.55, 325.15°)
OKLaboklab(27.96% 0.0922 -0.0662)
OKLCHoklch(27.96% 0.113 324.3)
XYZxyz(3.5037, 1.8528, 6.1331)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B47 #10470B
analogous
#240B47 #420B47 #470B2E
triadic
#420B47 #47420B #0B4742
tetradic
#420B47 #47240B #10470B #0B2E47
square
#420B47 #47240B #10470B #0B2E47
split-complementary
#420B47 #2E470B #0B4724
monochromatic
#19041A #19041A #420B47 #73137C #A51BB1

Accessibility & contrast

On white

15.32
#420B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420B47
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B47#FFFFFF#000000##FFFFFF
##420B471.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420b47;
/* rgb */ color: rgb(66, 11, 71);
/* oklch */ color: oklch(28.0% 0.113 324.3);
Tailwind
colors: {
  custom: {
    50: '#79517a',
    500: '#420b47',
    950: '#000000',
  },
}
SCSS
$custom: #420b47;
$custom-light: #79517a;
$custom-dark: #000000;
JSON
{
  "hex": "#420b47",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 295,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27958,
    "c": 0.11349,
    "h": 324.3
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#420B47
secondary
#32832A
accent
#F03847
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420B47

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

Preview Lab → · Contrast checker → · Palette generator →

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