#420E4E#420E4E

#420E4E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.8% C 0.117 H 319.3°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#420E4E
RGBrgb(66, 14, 78)
HSLhsl(289, 70%, 18%)
HSVhsv(289, 82%, 31%)
CMYKcmyk(15.4%, 82.1%, 0%, 69.4%)
CIE-LABlab(15.61, 34.42, -27.12)
CIE-LCHlch(15.61, 43.82, 321.77°)
OKLaboklab(28.77% 0.0884 -0.0761)
OKLCHoklch(28.77% 0.117 319.3)
XYZxyz(3.7788, 2.0226, 7.3976)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E4E #1A4E0E
analogous
#220E4E #420E4E #4E0E3A
triadic
#420E4E #4E420E #0E4E42
tetradic
#420E4E #4E220E #1A4E0E #0E3A4E
square
#420E4E #4E220E #1A4E0E #0E3A4E
split-complementary
#420E4E #3A4E0E #0E4E22
monochromatic
#16051A #16051A #420E4E #6E1782 #9A21B6

Accessibility & contrast

On white

14.95
#420E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#420E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E4E
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E4E#FFFFFF#000000##FFFFFF
##420E4E1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#13294D
Tritanopia (blue-blind)
#421B2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #420e4e;
/* rgb */ color: rgb(66, 14, 78);
/* oklch */ color: oklch(28.8% 0.117 319.3);
Tailwind
colors: {
  custom: {
    50: '#795380',
    500: '#420e4e',
    950: '#000000',
  },
}
SCSS
$custom: #420e4e;
$custom-light: #795380;
$custom-dark: #000000;
JSON
{
  "hex": "#420e4e",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 288.75,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28768,
    "c": 0.11665,
    "h": 319.3
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#420E4E
secondary
#40892F
accent
#EC3B5D
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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