#420647#420647

#420647 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.5% C 0.119 H 324.6°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#420647
RGBrgb(66, 6, 71)
HSLhsl(295, 84%, 15%)
HSVhsv(295, 92%, 28%)
CMYKcmyk(7%, 91.5%, 0%, 72.2%)
CIE-LABlab(14.08, 35.88, -24.73)
CIE-LCHlch(14.08, 43.58, 325.43°)
OKLaboklab(27.52% 0.0971 -0.0691)
OKLCHoklch(27.52% 0.119 324.6)
XYZxyz(3.4491, 1.7437, 6.1149)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420647 #0B4706
analogous
#220647 #420647 #47062B
triadic
#420647 #474206 #064742
tetradic
#420647 #472206 #0B4706 #062B47
square
#420647 #472206 #0B4706 #062B47
split-complementary
#420647 #2B4706 #064722
monochromatic
#1A021C #1A021C #420647 #760B7F #AB10B8

Accessibility & contrast

On white

15.57
#420647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420647
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420647#FFFFFF#000000##FFFFFF
##4206471.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420647;
/* rgb */ color: rgb(66, 6, 71);
/* oklch */ color: oklch(27.5% 0.119 324.6);
Tailwind
colors: {
  custom: {
    50: '#79507a',
    500: '#420647',
    950: '#000000',
  },
}
SCSS
$custom: #420647;
$custom-light: #79507a;
$custom-dark: #000000;
JSON
{
  "hex": "#420647",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 295.385,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27523,
    "c": 0.11912,
    "h": 324.6
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

primary
#420647
secondary
#2A8623
accent
#FB2D3D
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420647

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

Preview Lab → · Contrast checker → · Palette generator →

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