#642476#642476

#642476 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.3% C 0.143 H 318.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#642476
RGBrgb(100, 36, 118)
HSLhsl(287, 53%, 30%)
HSVhsv(287, 69%, 46%)
CMYKcmyk(15.3%, 69.5%, 0%, 53.7%)
CIE-LABlab(27.52, 41.63, -34.07)
CIE-LCHlch(27.52, 53.80, 320.71°)
OKLaboklab(39.32% 0.1061 -0.0955)
OKLCHoklch(39.32% 0.143 318)
XYZxyz(9.1560, 5.2795, 17.6728)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642476 #367624
analogous
#3B2476 #642476 #76245F
triadic
#642476 #766424 #247664
tetradic
#642476 #763B24 #367624 #245F76
square
#642476 #763B24 #367624 #245F76
split-complementary
#642476 #5F7624 #24763B
monochromatic
#150718 #3C1647 #642476 #8C32A5 #AD4CC8

Accessibility & contrast

On white

10.22
#642476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642476
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642476#FFFFFF#000000##FFFFFF
##6424761.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D78
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#64334A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #642476;
/* rgb */ color: rgb(100, 36, 118);
/* oklch */ color: oklch(39.3% 0.143 318.0);
Tailwind
colors: {
  custom: {
    50: '#93649e',
    500: '#642476',
    950: '#000000',
  },
}
SCSS
$custom: #642476;
$custom-light: #93649e;
$custom-dark: #000000;
JSON
{
  "hex": "#642476",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 286.829,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39324,
    "c": 0.14274,
    "h": 318
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#642476
secondary
#61A94D
accent
#DD4B6B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642476

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

Preview Lab → · Contrast checker → · Palette generator →

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