#420E4F#420E4F

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

Color values

HEX#420E4F
RGBrgb(66, 14, 79)
HSLhsl(288, 70%, 18%)
HSVhsv(288, 82%, 31%)
CMYKcmyk(16.5%, 82.3%, 0%, 69%)
CIE-LABlab(15.68, 34.64, -27.68)
CIE-LCHlch(15.68, 44.34, 321.37°)
OKLaboklab(28.85% 0.0883 -0.0778)
OKLCHoklch(28.85% 0.118 318.6)
XYZxyz(3.8149, 2.0370, 7.5879)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E4F #1B4F0E
analogous
#210E4F #420E4F #4F0E3B
triadic
#420E4F #4F420E #0E4F42
tetradic
#420E4F #4F210E #1B4F0E #0E3B4F
square
#420E4F #4F210E #1B4F0E #0E3B4F
split-complementary
#420E4F #3B4F0E #0E4F21
monochromatic
#16051A #17051B #420E4F #6D1783 #9920B7

Accessibility & contrast

On white

14.92
#420E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#420E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E4F
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E4F#FFFFFF#000000##FFFFFF
##420E4F1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#12294E
Tritanopia (blue-blind)
#421C2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #420e4f;
/* rgb */ color: rgb(66, 14, 79);
/* oklch */ color: oklch(28.8% 0.118 318.6);
Tailwind
colors: {
  custom: {
    50: '#795381',
    500: '#420e4f',
    950: '#000000',
  },
}
SCSS
$custom: #420e4f;
$custom-light: #795381;
$custom-dark: #000000;
JSON
{
  "hex": "#420e4f",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 288,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28845,
    "c": 0.11764,
    "h": 318.6
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#420E4F
secondary
#418A2F
accent
#ED3B5F
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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