#642679#642679

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

Color values

HEX#642679
RGBrgb(100, 38, 121)
HSLhsl(285, 52%, 31%)
HSVhsv(285, 69%, 47%)
CMYKcmyk(17.4%, 68.6%, 0%, 52.5%)
CIE-LABlab(28.05, 41.34, -35.12)
CIE-LCHlch(28.05, 54.24, 319.66°)
OKLaboklab(39.77% 0.1036 -0.0985)
OKLCHoklch(39.77% 0.143 316.4)
XYZxyz(9.3993, 5.4764, 18.6474)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642679 #3B7926
analogous
#3A2679 #642679 #792664
triadic
#642679 #796426 #267964
tetradic
#642679 #793A26 #3B7926 #266479
square
#642679 #793A26 #3B7926 #266479
split-complementary
#642679 #647926 #26793A
monochromatic
#17091C #3E174A #642679 #8A35A8 #AA51C8

Accessibility & contrast

On white

10.02
#642679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#642679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642679
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642679#FFFFFF#000000##FFFFFF
##6426791.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7B
Deuteranopia (green-blind)
#274477
Tritanopia (blue-blind)
#63364C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #642679;
/* rgb */ color: rgb(100, 38, 121);
/* oklch */ color: oklch(39.8% 0.143 316.4);
Tailwind
colors: {
  custom: {
    50: '#9365a0',
    500: '#642679',
    950: '#000000',
  },
}
SCSS
$custom: #642679;
$custom-light: #9365a0;
$custom-dark: #000000;
JSON
{
  "hex": "#642679",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 284.819,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.14295,
    "h": 316.4
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#642679
secondary
#67AB50
accent
#DC4C70
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #642679

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

Preview Lab → · Contrast checker → · Palette generator →

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