#420648#420648

#420648 is a dark, vivid purple. Relative luminance 0.018; OKLCH L 27.6% C 0.120 H 323.9°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#420648
RGBrgb(66, 6, 72)
HSLhsl(295, 85%, 15%)
HSVhsv(295, 92%, 28%)
CMYKcmyk(8.3%, 91.7%, 0%, 71.8%)
CIE-LABlab(14.15, 36.08, -25.30)
CIE-LCHlch(14.15, 44.07, 324.95°)
OKLaboklab(27.6% 0.0969 -0.0707)
OKLCHoklch(27.6% 0.12 323.9)
XYZxyz(3.4815, 1.7566, 6.2853)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420648 #0C4806
analogous
#210648 #420648 #48062D
triadic
#420648 #484206 #064842
tetradic
#420648 #482106 #0C4806 #062D48
square
#420648 #482106 #0C4806 #062D48
split-complementary
#420648 #2D4806 #064821
monochromatic
#1A021C #1A021C #420648 #760B80 #AA0FB9

Accessibility & contrast

On white

15.54
#420648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420648
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420648#FFFFFF#000000##FFFFFF
##4206481.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#142647
Tritanopia (blue-blind)
#431428
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420648;
/* rgb */ color: rgb(66, 6, 72);
/* oklch */ color: oklch(27.6% 0.120 323.9);
Tailwind
colors: {
  custom: {
    50: '#79507b',
    500: '#420648',
    950: '#000000',
  },
}
SCSS
$custom: #420648;
$custom-light: #79507b;
$custom-dark: #000000;
JSON
{
  "hex": "#420648",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 294.545,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27599,
    "c": 0.12,
    "h": 323.9
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#420648
secondary
#2C8723
accent
#FB2D40
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #420648

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

Preview Lab → · Contrast checker → · Palette generator →

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