#642C73#642C73

#642C73 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.2% C 0.127 H 318.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#642C73
RGBrgb(100, 44, 115)
HSLhsl(287, 45%, 31%)
HSVhsv(287, 62%, 45%)
CMYKcmyk(13%, 61.7%, 0%, 54.9%)
CIE-LABlab(28.77, 37.02, -30.16)
CIE-LCHlch(28.77, 47.75, 320.82°)
OKLaboklab(40.17% 0.0956 -0.0841)
OKLCHoklch(40.17% 0.127 318.7)
XYZxyz(9.2503, 5.7489, 16.8387)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642C73 #3B732C
analogous
#402C73 #642C73 #732C5E
triadic
#642C73 #73642C #2C7364
tetradic
#642C73 #73402C #3B732C #2C5E73
square
#642C73 #73402C #3B732C #2C5E73
split-complementary
#642C73 #5E732C #2C7340
monochromatic
#170A1A #3E1B47 #642C73 #8A3D9F #AA5AC0

Accessibility & contrast

On white

9.77
#642C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#642C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642C73
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642C73#FFFFFF#000000##FFFFFF
##642C731.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4075
Deuteranopia (green-blind)
#304671
Tritanopia (blue-blind)
#64374B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #642c73;
/* rgb */ color: rgb(100, 44, 115);
/* oklch */ color: oklch(40.2% 0.127 318.7);
Tailwind
colors: {
  custom: {
    50: '#92699b',
    500: '#642c73',
    950: '#000000',
  },
}
SCSS
$custom: #642c73;
$custom-light: #92699b;
$custom-dark: #000000;
JSON
{
  "hex": "#642c73",
  "rgb": {
    "r": 100,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 287.324,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4017,
    "c": 0.12738,
    "h": 318.7
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#642C73
secondary
#67A556
accent
#D4536F
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642C73

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

Preview Lab → · Contrast checker → · Palette generator →

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