#642979#642979

#642979 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.2% C 0.139 H 316.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#642979
RGBrgb(100, 41, 121)
HSLhsl(284, 49%, 32%)
HSVhsv(284, 66%, 47%)
CMYKcmyk(17.4%, 66.1%, 0%, 52.5%)
CIE-LABlab(28.58, 39.88, -34.27)
CIE-LCHlch(28.58, 52.58, 319.33°)
OKLaboklab(40.15% 0.0998 -0.0961)
OKLCHoklch(40.15% 0.139 316.1)
XYZxyz(9.4991, 5.6760, 18.6807)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642979 #3E7929
analogous
#3C2979 #642979 #792966
triadic
#642979 #796429 #297964
tetradic
#642979 #793C29 #3E7929 #296679
square
#642979 #793C29 #3E7929 #296679
split-complementary
#642979 #667929 #29793C
monochromatic
#180A1E #3E1A4B #642979 #8A38A7 #A956C6

Accessibility & contrast

On white

9.84
#642979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#642979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642979
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642979#FFFFFF#000000##FFFFFF
##6429791.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#294577
Tritanopia (blue-blind)
#63374D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #642979;
/* rgb */ color: rgb(100, 41, 121);
/* oklch */ color: oklch(40.2% 0.139 316.1);
Tailwind
colors: {
  custom: {
    50: '#9367a0',
    500: '#642979',
    950: '#000000',
  },
}
SCSS
$custom: #642979;
$custom-light: #9367a0;
$custom-dark: #000000;
JSON
{
  "hex": "#642979",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 284.25,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.13852,
    "h": 316.1
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#642979
secondary
#6AAB53
accent
#D94F73
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #642979

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

Preview Lab → · Contrast checker → · Palette generator →

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