#420E5C#420E5C

#420E5C is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.9% C 0.131 H 311.0°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#420E5C
RGBrgb(66, 14, 92)
HSLhsl(280, 74%, 21%)
HSVhsv(280, 85%, 36%)
CMYKcmyk(28.3%, 84.8%, 0%, 63.9%)
CIE-LABlab(16.72, 37.59, -34.79)
CIE-LCHlch(16.72, 51.22, 317.22°)
OKLaboklab(29.91% 0.0858 -0.0986)
OKLCHoklch(29.91% 0.131 311)
XYZxyz(4.3352, 2.2451, 10.3281)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E5C #285C0E
analogous
#1B0E5C #420E5C #5C0E4F
triadic
#420E5C #5C420E #0E5C42
tetradic
#420E5C #5C1B0E #285C0E #0E4F5C
square
#420E5C #5C1B0E #285C0E #0E4F5C
split-complementary
#420E5C #4F5C0E #0E5C1B
monochromatic
#13041B #1C0627 #420E5C #681691 #8E1EC6

Accessibility & contrast

On white

14.49
#420E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#420E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E5C
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E5C#FFFFFF#000000##FFFFFF
##420E5C1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#3E2235
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #420e5c;
/* rgb */ color: rgb(66, 14, 92);
/* oklch */ color: oklch(29.9% 0.131 311.0);
Tailwind
colors: {
  custom: {
    50: '#7a548b',
    500: '#420e5c',
    950: '#000000',
  },
}
SCSS
$custom: #420e5c;
$custom-light: #7a548b;
$custom-dark: #000000;
JSON
{
  "hex": "#420e5c",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 92
  },
  "hsl": {
    "h": 280,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29911,
    "c": 0.13072,
    "h": 311
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#420E5C
secondary
#529630
accent
#F03875
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #420E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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