#420E40#420E40

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

Color values

HEX#420E40
RGBrgb(66, 14, 64)
HSLhsl(302, 65%, 16%)
HSVhsv(302, 79%, 26%)
CMYKcmyk(0%, 78.8%, 3%, 74.1%)
CIE-LABlab(14.64, 31.53, -18.94)
CIE-LCHlch(14.64, 36.78, 329.01°)
OKLaboklab(27.77% 0.089 -0.0523)
OKLCHoklch(27.77% 0.103 329.6)
XYZxyz(3.3292, 1.8427, 5.0298)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E40 #0E4210
analogous
#2A0E42 #420E40 #420E26
triadic
#420E40 #40420E #0E4042
tetradic
#420E40 #422A0E #0E4210 #0E2642
square
#420E40 #422A0E #0E4210 #0E2642
split-complementary
#420E40 #26420E #0E422A
monochromatic
#190518 #190518 #420E40 #741971 #A723A2

Accessibility & contrast

On white

15.35
#420E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E40
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E40#FFFFFF#000000##FFFFFF
##420E401.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082041
Deuteranopia (green-blind)
#1D273F
Tritanopia (blue-blind)
#451525
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420e40;
/* rgb */ color: rgb(66, 14, 64);
/* oklch */ color: oklch(27.8% 0.103 329.6);
Tailwind
colors: {
  custom: {
    50: '#795275',
    500: '#420e40',
    950: '#000000',
  },
}
SCSS
$custom: #420e40;
$custom-light: #795275;
$custom-dark: #000000;
JSON
{
  "hex": "#420e40",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 302.308,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27768,
    "c": 0.10319,
    "h": 329.6
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#420E40
secondary
#2F7D32
accent
#E84640
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420E40

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

Preview Lab → · Contrast checker → · Palette generator →

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