#642973#642973

#642973 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.8% C 0.132 H 319.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#642973
RGBrgb(100, 41, 115)
HSLhsl(288, 47%, 31%)
HSVhsv(288, 64%, 45%)
CMYKcmyk(13%, 64.3%, 0%, 54.9%)
CIE-LABlab(28.20, 38.56, -31.06)
CIE-LCHlch(28.20, 49.52, 321.15°)
OKLaboklab(39.76% 0.0998 -0.0867)
OKLCHoklch(39.76% 0.132 319)
XYZxyz(9.1426, 5.5334, 16.8028)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642973 #387329
analogous
#3F2973 #642973 #73295D
triadic
#642973 #736429 #297364
tetradic
#642973 #733F29 #387329 #295D73
square
#642973 #733F29 #387329 #295D73
split-complementary
#642973 #5D7329 #29733F
monochromatic
#160919 #3D1946 #642973 #8B39A0 #AC54C2

Accessibility & contrast

On white

9.97
#642973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#642973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642973
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642973#FFFFFF#000000##FFFFFF
##6429731.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F75
Deuteranopia (green-blind)
#2E4571
Tritanopia (blue-blind)
#64354A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #642973;
/* rgb */ color: rgb(100, 41, 115);
/* oklch */ color: oklch(39.8% 0.132 319.0);
Tailwind
colors: {
  custom: {
    50: '#92679c',
    500: '#642973',
    950: '#000000',
  },
}
SCSS
$custom: #642973;
$custom-light: #92679c;
$custom-dark: #000000;
JSON
{
  "hex": "#642973",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 287.838,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.13218,
    "h": 319
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#642973
secondary
#63A553
accent
#D7516C
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642973

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

Preview Lab → · Contrast checker → · Palette generator →

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