#420541#420541

#420541 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 27.0% C 0.115 H 329.0°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#420541
RGBrgb(66, 5, 65)
HSLhsl(301, 86%, 14%)
HSVhsv(301, 92%, 26%)
CMYKcmyk(0%, 92.4%, 1.5%, 74.1%)
CIE-LABlab(13.52, 35.11, -21.41)
CIE-LCHlch(13.52, 41.13, 328.63°)
OKLaboklab(26.99% 0.0987 -0.0594)
OKLCHoklch(26.99% 0.115 329)
XYZxyz(3.2551, 1.6487, 5.1468)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420541 #054206
analogous
#250542 #420541 #420523
triadic
#420541 #414205 #054142
tetradic
#420541 #422505 #054206 #052342
square
#420541 #422505 #054206 #052342
split-complementary
#420541 #234205 #054225
monochromatic
#1C021C #1C021C #420541 #7B0979 #B40EB1

Accessibility & contrast

On white

15.79
#420541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#420541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420541
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420541#FFFFFF#000000##FFFFFF
##4205411.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#182540
Tritanopia (blue-blind)
#450F24
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420541;
/* rgb */ color: rgb(66, 5, 65);
/* oklch */ color: oklch(27.0% 0.115 329.0);
Tailwind
colors: {
  custom: {
    50: '#794f76',
    500: '#420541',
    950: '#000000',
  },
}
SCSS
$custom: #420541;
$custom-light: #794f76;
$custom-dark: #000000;
JSON
{
  "hex": "#420541",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 300.984,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26993,
    "c": 0.11515,
    "h": 329
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#420541
secondary
#208222
accent
#FC2F2C
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420541

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

Preview Lab → · Contrast checker → · Palette generator →

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