#420646#420646

#420646 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.118 H 325.3°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#420646
RGBrgb(66, 6, 70)
HSLhsl(296, 84%, 15%)
HSVhsv(296, 91%, 27%)
CMYKcmyk(5.7%, 91.4%, 0%, 72.5%)
CIE-LABlab(14.01, 35.69, -24.15)
CIE-LCHlch(14.01, 43.09, 325.91°)
OKLaboklab(27.45% 0.0972 -0.0674)
OKLCHoklch(27.45% 0.118 325.3)
XYZxyz(3.4173, 1.7309, 5.9473)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420646 #0A4606
analogous
#220646 #420646 #46062A
triadic
#420646 #464206 #064642
tetradic
#420646 #462206 #0A4606 #062A46
square
#420646 #462206 #0A4606 #062A46
split-complementary
#420646 #2A4606 #064622
monochromatic
#1B021C #1B021C #420646 #770B7E #AC10B7

Accessibility & contrast

On white

15.60
#420646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420646
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420646#FFFFFF#000000##FFFFFF
##4206461.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420646;
/* rgb */ color: rgb(66, 6, 70);
/* oklch */ color: oklch(27.4% 0.118 325.3);
Tailwind
colors: {
  custom: {
    50: '#794f7a',
    500: '#420646',
    950: '#000000',
  },
}
SCSS
$custom: #420646;
$custom-light: #794f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#420646",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 296.25,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27448,
    "c": 0.11825,
    "h": 325.3
  },
  "luminance": 0.01731
}

Semantic roles & 50–950 ramp

primary
#420646
secondary
#298522
accent
#FA2D3A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420646

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

Preview Lab → · Contrast checker → · Palette generator →

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