#420E49#420E49

#420E49 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.112 H 322.7°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#420E49
RGBrgb(66, 14, 73)
HSLhsl(293, 68%, 17%)
HSVhsv(293, 81%, 29%)
CMYKcmyk(9.6%, 80.8%, 0%, 71.4%)
CIE-LABlab(15.24, 33.35, -24.26)
CIE-LCHlch(15.24, 41.24, 323.97°)
OKLaboklab(28.39% 0.0889 -0.0677)
OKLCHoklch(28.39% 0.112 322.7)
XYZxyz(3.6063, 1.9536, 6.4892)
Luminance0.0195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E49 #15490E
analogous
#250E49 #420E49 #490E33
triadic
#420E49 #49420E #0E4942
tetradic
#420E49 #49250E #15490E #0E3349
square
#420E49 #49250E #15490E #0E3349
split-complementary
#420E49 #33490E #0E4925
monochromatic
#17051A #17051A #420E49 #70187C #9F22B0

Accessibility & contrast

On white

15.10
#420E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E49
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E49#FFFFFF#000000##FFFFFF
##420E491.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#172848
Tritanopia (blue-blind)
#43192A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420e49;
/* rgb */ color: rgb(66, 14, 73);
/* oklch */ color: oklch(28.4% 0.112 322.7);
Tailwind
colors: {
  custom: {
    50: '#79537c',
    500: '#420e49',
    950: '#000000',
  },
}
SCSS
$custom: #420e49;
$custom-light: #79537c;
$custom-dark: #000000;
JSON
{
  "hex": "#420e49",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 292.881,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28393,
    "c": 0.11173,
    "h": 322.7
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#420E49
secondary
#39842F
accent
#EB3D52
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #420E49

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

Preview Lab → · Contrast checker → · Palette generator →

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