#642377#642377

#642377 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.145 H 317.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#642377
RGBrgb(100, 35, 119)
HSLhsl(286, 55%, 30%)
HSVhsv(286, 71%, 47%)
CMYKcmyk(16%, 70.6%, 0%, 53.3%)
CIE-LABlab(27.42, 42.31, -34.86)
CIE-LCHlch(27.42, 54.82, 320.51°)
OKLaboklab(39.27% 0.1073 -0.0978)
OKLCHoklch(39.27% 0.145 317.6)
XYZxyz(9.1859, 5.2437, 17.9775)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642377 #367723
analogous
#3A2377 #642377 #772360
triadic
#642377 #776423 #237764
tetradic
#642377 #773A23 #367723 #236077
square
#642377 #773A23 #367723 #236077
split-complementary
#642377 #607723 #23773A
monochromatic
#150718 #3C1548 #642377 #8C31A6 #AD4ACA

Accessibility & contrast

On white

10.25
#642377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#642377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642377
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642377#FFFFFF#000000##FFFFFF
##6423771.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D79
Deuteranopia (green-blind)
#264375
Tritanopia (blue-blind)
#63334A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #642377;
/* rgb */ color: rgb(100, 35, 119);
/* oklch */ color: oklch(39.3% 0.145 317.6);
Tailwind
colors: {
  custom: {
    50: '#93649f',
    500: '#642377',
    950: '#000000',
  },
}
SCSS
$custom: #642377;
$custom-light: #93649f;
$custom-dark: #000000;
JSON
{
  "hex": "#642377",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 286.429,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39274,
    "c": 0.14515,
    "h": 317.6
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#642377
secondary
#61AA4C
accent
#DE4A6B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642377

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

Preview Lab → · Contrast checker → · Palette generator →

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