#420A43#420A43

#420A43 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.111 H 327.3°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#420A43
RGBrgb(66, 10, 67)
HSLhsl(299, 74%, 15%)
HSVhsv(299, 85%, 26%)
CMYKcmyk(1.5%, 85.1%, 0%, 73.7%)
CIE-LABlab(14.29, 33.67, -21.59)
CIE-LCHlch(14.29, 40.00, 327.32°)
OKLaboklab(27.58% 0.0934 -0.0599)
OKLCHoklch(27.58% 0.111 327.3)
XYZxyz(3.3684, 1.7808, 5.4754)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A43 #0B430A
analogous
#250A43 #420A43 #430A28
triadic
#420A43 #43420A #0A4342
tetradic
#420A43 #43250A #0B430A #0A2843
square
#420A43 #43250A #0B430A #0A2843
split-complementary
#420A43 #28430A #0A4325
monochromatic
#1A041B #1A041B #420A43 #761278 #AB1AAE

Accessibility & contrast

On white

15.48
#420A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#420A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420A43
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A43#FFFFFF#000000##FFFFFF
##420A431.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002045
Deuteranopia (green-blind)
#192742
Tritanopia (blue-blind)
#441426
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420a43;
/* rgb */ color: rgb(66, 10, 67);
/* oklch */ color: oklch(27.6% 0.111 327.3);
Tailwind
colors: {
  custom: {
    50: '#795177',
    500: '#420a43',
    950: '#000000',
  },
}
SCSS
$custom: #420a43;
$custom-light: #795177;
$custom-dark: #000000;
JSON
{
  "hex": "#420a43",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 298.947,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27583,
    "c": 0.11097,
    "h": 327.3
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#420A43
secondary
#2A8029
accent
#F1373A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420A43

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

Preview Lab → · Contrast checker → · Palette generator →

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