#420546#420546

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

Color values

HEX#420546
RGBrgb(66, 5, 70)
HSLhsl(296, 87%, 15%)
HSVhsv(296, 93%, 27%)
CMYKcmyk(5.7%, 92.9%, 0%, 72.5%)
CIE-LABlab(13.88, 36.05, -24.35)
CIE-LCHlch(13.88, 43.51, 325.97°)
OKLaboklab(27.36% 0.0982 -0.0679)
OKLCHoklch(27.36% 0.119 325.3)
XYZxyz(3.4064, 1.7092, 5.9437)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420546 #094605
analogous
#220546 #420546 #46052A
triadic
#420546 #464205 #054642
tetradic
#420546 #462205 #094605 #052A46
square
#420546 #462205 #094605 #052A46
split-complementary
#420546 #2A4605 #054622
monochromatic
#1B021D #1B021D #420546 #78097F #AE0DB8

Accessibility & contrast

On white

15.65
#420546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420546
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420546#FFFFFF#000000##FFFFFF
##4205461.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420546;
/* rgb */ color: rgb(66, 5, 70);
/* oklch */ color: oklch(27.4% 0.119 325.3);
Tailwind
colors: {
  custom: {
    50: '#794f7a',
    500: '#420546',
    950: '#000000',
  },
}
SCSS
$custom: #420546;
$custom-light: #794f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#420546",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 296.308,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27359,
    "c": 0.11941,
    "h": 325.3
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#420546
secondary
#278621
accent
#FD2B38
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420546

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

Preview Lab → · Contrast checker → · Palette generator →

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