#642477#642477

#642477 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.4% C 0.144 H 317.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#642477
RGBrgb(100, 36, 119)
HSLhsl(286, 54%, 30%)
HSVhsv(286, 70%, 47%)
CMYKcmyk(16%, 69.7%, 0%, 53.3%)
CIE-LABlab(27.58, 41.85, -34.60)
CIE-LCHlch(27.58, 54.30, 320.42°)
OKLaboklab(39.39% 0.1061 -0.097)
OKLCHoklch(39.39% 0.144 317.6)
XYZxyz(9.2157, 5.3034, 17.9874)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642477 #377724
analogous
#3A2477 #642477 #772460
triadic
#642477 #776424 #247764
tetradic
#642477 #773A24 #377724 #246077
square
#642477 #773A24 #377724 #246077
split-complementary
#642477 #607724 #24773A
monochromatic
#150819 #3D1648 #642477 #8B32A6 #AC4CC9

Accessibility & contrast

On white

10.19
#642477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#642477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642477
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642477#FFFFFF#000000##FFFFFF
##6424771.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #642477;
/* rgb */ color: rgb(100, 36, 119);
/* oklch */ color: oklch(39.4% 0.144 317.6);
Tailwind
colors: {
  custom: {
    50: '#93649f',
    500: '#642477',
    950: '#000000',
  },
}
SCSS
$custom: #642477;
$custom-light: #93649f;
$custom-dark: #000000;
JSON
{
  "hex": "#642477",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 286.265,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.14376,
    "h": 317.6
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#642477
secondary
#62AA4D
accent
#DD4B6C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642477

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

Preview Lab → · Contrast checker → · Palette generator →

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