#642076#642076

#642076 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.9% C 0.148 H 318.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#642076
RGBrgb(100, 32, 118)
HSLhsl(287, 57%, 29%)
HSVhsv(287, 73%, 46%)
CMYKcmyk(15.3%, 72.9%, 0%, 53.7%)
CIE-LABlab(26.88, 43.42, -35.09)
CIE-LCHlch(26.88, 55.83, 321.06°)
OKLaboklab(38.87% 0.1108 -0.0984)
OKLCHoklch(38.87% 0.148 318.4)
XYZxyz(9.0416, 5.0508, 17.6347)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642076 #327620
analogous
#392076 #642076 #76205D
triadic
#642076 #766420 #207664
tetradic
#642076 #763920 #327620 #205D76
square
#642076 #763920 #327620 #205D76
split-complementary
#642076 #5D7620 #207639
monochromatic
#140718 #3B1346 #642076 #8D2DA6 #B044CC

Accessibility & contrast

On white

10.45
#642076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#642076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642076
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642076#FFFFFF#000000##FFFFFF
##6420761.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#244274
Tritanopia (blue-blind)
#643148
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #642076;
/* rgb */ color: rgb(100, 32, 118);
/* oklch */ color: oklch(38.9% 0.148 318.4);
Tailwind
colors: {
  custom: {
    50: '#93629e',
    500: '#642076',
    950: '#000000',
  },
}
SCSS
$custom: #642076;
$custom-light: #93629e;
$custom-dark: #000000;
JSON
{
  "hex": "#642076",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 287.442,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38866,
    "c": 0.14821,
    "h": 318.4
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#642076
secondary
#5DA948
accent
#E14767
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #642076

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

Preview Lab → · Contrast checker → · Palette generator →

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