#420E48#420E48

#420E48 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.111 H 323.4°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#420E48
RGBrgb(66, 14, 72)
HSLhsl(294, 67%, 17%)
HSVhsv(294, 81%, 28%)
CMYKcmyk(8.3%, 80.6%, 0%, 71.8%)
CIE-LABlab(15.17, 33.14, -23.68)
CIE-LCHlch(15.17, 40.73, 324.46°)
OKLaboklab(28.32% 0.0889 -0.066)
OKLCHoklch(28.32% 0.111 323.4)
XYZxyz(3.5734, 1.9404, 6.3160)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E48 #14480E
analogous
#250E48 #420E48 #480E31
triadic
#420E48 #48420E #0E4842
tetradic
#420E48 #48250E #14480E #0E3148
square
#420E48 #48250E #14480E #0E3148
split-complementary
#420E48 #31480E #0E4825
monochromatic
#17051A #17051A #420E48 #71187B #A022AE

Accessibility & contrast

On white

15.13
#420E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#420E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E48
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E48#FFFFFF#000000##FFFFFF
##420E481.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#182847
Tritanopia (blue-blind)
#43182A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420e48;
/* rgb */ color: rgb(66, 14, 72);
/* oklch */ color: oklch(28.3% 0.111 323.4);
Tailwind
colors: {
  custom: {
    50: '#79537b',
    500: '#420e48',
    950: '#000000',
  },
}
SCSS
$custom: #420e48;
$custom-light: #79537b;
$custom-dark: #000000;
JSON
{
  "hex": "#420e48",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 293.793,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2832,
    "c": 0.11076,
    "h": 323.4
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#420E48
secondary
#38832F
accent
#EA3D4F
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #420E48

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

Preview Lab → · Contrast checker → · Palette generator →

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