#420641#420641

#420641 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.114 H 328.9°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#420641
RGBrgb(66, 6, 65)
HSLhsl(301, 83%, 14%)
HSVhsv(301, 91%, 26%)
CMYKcmyk(0%, 90.9%, 1.5%, 74.1%)
CIE-LABlab(13.65, 34.74, -21.21)
CIE-LCHlch(13.65, 40.70, 328.60°)
OKLaboklab(27.08% 0.0976 -0.0588)
OKLCHoklch(27.08% 0.114 328.9)
XYZxyz(3.2660, 1.6704, 5.1504)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420641 #064207
analogous
#250642 #420641 #420623
triadic
#420641 #414206 #064142
tetradic
#420641 #422506 #064207 #062342
square
#420641 #422506 #064207 #062342
split-complementary
#420641 #234206 #064225
monochromatic
#1C031C #1C031C #420641 #7A0B78 #B210B0

Accessibility & contrast

On white

15.74
#420641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420641
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420641#FFFFFF#000000##FFFFFF
##4206411.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#192640
Tritanopia (blue-blind)
#451024
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420641;
/* rgb */ color: rgb(66, 6, 65);
/* oklch */ color: oklch(27.1% 0.114 328.9);
Tailwind
colors: {
  custom: {
    50: '#794f76',
    500: '#420641',
    950: '#000000',
  },
}
SCSS
$custom: #420641;
$custom-light: #794f76;
$custom-dark: #000000;
JSON
{
  "hex": "#420641",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 301,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.27084,
    "c": 0.11393,
    "h": 328.9
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#420641
secondary
#228224
accent
#FA322E
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420641

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

Preview Lab → · Contrast checker → · Palette generator →

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