#642A73#642A73

#642A73 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 39.9% C 0.131 H 318.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#642A73
RGBrgb(100, 42, 115)
HSLhsl(288, 46%, 31%)
HSVhsv(288, 63%, 45%)
CMYKcmyk(13%, 63.5%, 0%, 54.9%)
CIE-LABlab(28.39, 38.05, -30.77)
CIE-LCHlch(28.39, 48.94, 321.04°)
OKLaboklab(39.89% 0.0984 -0.0859)
OKLCHoklch(39.89% 0.131 318.9)
XYZxyz(9.1776, 5.6034, 16.8145)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A73 #39732A
analogous
#3F2A73 #642A73 #732A5D
triadic
#642A73 #73642A #2A7364
tetradic
#642A73 #733F2A #39732A #2A5D73
square
#642A73 #733F2A #39732A #2A5D73
split-complementary
#642A73 #5D732A #2A733F
monochromatic
#160919 #3D1A46 #642A73 #8B3AA0 #AB56C1

Accessibility & contrast

On white

9.90
#642A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#642A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A73
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A73#FFFFFF#000000##FFFFFF
##642A731.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #642a73;
/* rgb */ color: rgb(100, 42, 115);
/* oklch */ color: oklch(39.9% 0.131 318.9);
Tailwind
colors: {
  custom: {
    50: '#92679c',
    500: '#642a73',
    950: '#000000',
  },
}
SCSS
$custom: #642a73;
$custom-light: #92679c;
$custom-dark: #000000;
JSON
{
  "hex": "#642a73",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 287.671,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39893,
    "c": 0.13061,
    "h": 318.9
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#642A73
secondary
#65A554
accent
#D6526D
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642A73

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

Preview Lab → · Contrast checker → · Palette generator →

#642A73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva