#420643#420643

#420643 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.116 H 327.4°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#420643
RGBrgb(66, 6, 67)
HSLhsl(299, 84%, 14%)
HSVhsv(299, 91%, 26%)
CMYKcmyk(1.5%, 91%, 0%, 73.7%)
CIE-LABlab(13.79, 35.11, -22.39)
CIE-LCHlch(13.79, 41.65, 327.47°)
OKLaboklab(27.23% 0.0975 -0.0622)
OKLCHoklch(27.23% 0.116 327.4)
XYZxyz(3.3250, 1.6940, 5.4610)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420643 #074306
analogous
#240643 #420643 #430626
triadic
#420643 #434206 #064342
tetradic
#420643 #432406 #074306 #062643
square
#420643 #432406 #074306 #062643
split-complementary
#420643 #264306 #064324
monochromatic
#1C031C #1C031C #420643 #790B7B #B110B3

Accessibility & contrast

On white

15.69
#420643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420643
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420643#FFFFFF#000000##FFFFFF
##4206431.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#172642
Tritanopia (blue-blind)
#441125
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420643;
/* rgb */ color: rgb(66, 6, 67);
/* oklch */ color: oklch(27.2% 0.116 327.4);
Tailwind
colors: {
  custom: {
    50: '#794f77',
    500: '#420643',
    950: '#000000',
  },
}
SCSS
$custom: #420643;
$custom-light: #794f77;
$custom-dark: #000000;
JSON
{
  "hex": "#420643",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 67
  },
  "hsl": {
    "h": 299.016,
    "s": 83.562,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27227,
    "c": 0.11564,
    "h": 327.4
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#420643
secondary
#248322
accent
#FA2E31
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420643

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

Preview Lab → · Contrast checker → · Palette generator →

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