#420F49#420F49

#420F49 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.110 H 322.6°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#420F49
RGBrgb(66, 15, 73)
HSLhsl(293, 66%, 17%)
HSVhsv(293, 79%, 29%)
CMYKcmyk(9.6%, 79.5%, 0%, 71.4%)
CIE-LABlab(15.39, 32.94, -24.02)
CIE-LCHlch(15.39, 40.77, 323.89°)
OKLaboklab(28.5% 0.0877 -0.0671)
OKLCHoklch(28.5% 0.11 322.6)
XYZxyz(3.6201, 1.9811, 6.4938)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F49 #16490F
analogous
#250F49 #420F49 #490F33
triadic
#420F49 #49420F #0F4942
tetradic
#420F49 #49250F #16490F #0F3349
square
#420F49 #49250F #16490F #0F3349
split-complementary
#420F49 #33490F #0F4925
monochromatic
#170519 #170519 #420F49 #70197C #9E24AF

Accessibility & contrast

On white

15.04
#420F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F49
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F49#FFFFFF#000000##FFFFFF
##420F491.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#182848
Tritanopia (blue-blind)
#43192B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420f49;
/* rgb */ color: rgb(66, 15, 73);
/* oklch */ color: oklch(28.5% 0.110 322.6);
Tailwind
colors: {
  custom: {
    50: '#79537c',
    500: '#420f49',
    950: '#000000',
  },
}
SCSS
$custom: #420f49;
$custom-light: #79537c;
$custom-dark: #000000;
JSON
{
  "hex": "#420f49",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 292.759,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28498,
    "c": 0.11042,
    "h": 322.6
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#420F49
secondary
#3A8330
accent
#E93F53
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #420F49

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

Preview Lab → · Contrast checker → · Palette generator →

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