#420F47#420F47

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

Color values

HEX#420F47
RGBrgb(66, 15, 71)
HSLhsl(295, 65%, 17%)
HSVhsv(295, 79%, 28%)
CMYKcmyk(7%, 78.9%, 0%, 72.2%)
CIE-LABlab(15.25, 32.51, -22.86)
CIE-LCHlch(15.25, 39.75, 324.89°)
OKLaboklab(28.35% 0.0878 -0.0637)
OKLCHoklch(28.35% 0.108 324.1)
XYZxyz(3.5548, 1.9550, 6.1501)
Luminance0.0196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F47 #14470F
analogous
#260F47 #420F47 #470F30
triadic
#420F47 #47420F #0F4742
tetradic
#420F47 #47260F #14470F #0F3047
square
#420F47 #47260F #14470F #0F3047
split-complementary
#420F47 #30470F #0F4726
monochromatic
#170519 #170519 #420F47 #711A7A #A024AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##420F47#FFFFFF#000000##FFFFFF
##420F471.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)
#012249
Deuteranopia (green-blind)
#192846
Tritanopia (blue-blind)
#43192A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420f47;
/* rgb */ color: rgb(66, 15, 71);
/* oklch */ color: oklch(28.4% 0.108 324.1);
Tailwind
colors: {
  custom: {
    50: '#79537a',
    500: '#420f47',
    950: '#000000',
  },
}
SCSS
$custom: #420f47;
$custom-light: #79537a;
$custom-dark: #000000;
JSON
{
  "hex": "#420f47",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 294.643,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28354,
    "c": 0.10846,
    "h": 324.1
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#420F47
secondary
#388130
accent
#E8404F
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #420F47

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

Preview Lab → · Contrast checker → · Palette generator →

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