#420547#420547

#420547 is a dark, vivid purple. Relative luminance 0.017; OKLCH L 27.4% C 0.120 H 324.6°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#420547
RGBrgb(66, 5, 71)
HSLhsl(295, 87%, 15%)
HSVhsv(295, 93%, 28%)
CMYKcmyk(7%, 93%, 0%, 72.2%)
CIE-LABlab(13.96, 36.25, -24.93)
CIE-LCHlch(13.96, 43.99, 325.48°)
OKLaboklab(27.44% 0.0981 -0.0696)
OKLCHoklch(27.44% 0.12 324.6)
XYZxyz(3.4383, 1.7220, 6.1113)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420547 #0A4705
analogous
#210547 #420547 #47052B
triadic
#420547 #474205 #054742
tetradic
#420547 #472105 #0A4705 #052B47
square
#420547 #472105 #0A4705 #052B47
split-complementary
#420547 #2B4705 #054721
monochromatic
#1B021D #1B021D #420547 #770980 #AC0DB9

Accessibility & contrast

On white

15.62
#420547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#420547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420547
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420547#FFFFFF#000000##FFFFFF
##4205471.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#142646
Tritanopia (blue-blind)
#441327
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420547;
/* rgb */ color: rgb(66, 5, 71);
/* oklch */ color: oklch(27.4% 0.120 324.6);
Tailwind
colors: {
  custom: {
    50: '#794f7a',
    500: '#420547',
    950: '#000000',
  },
}
SCSS
$custom: #420547;
$custom-light: #794f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#420547",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 295.455,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27435,
    "c": 0.12027,
    "h": 324.6
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#420547
secondary
#298721
accent
#FD2B3B
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420547

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

Preview Lab → · Contrast checker → · Palette generator →

#420547 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva