#642876#642876

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

Color values

HEX#642876
RGBrgb(100, 40, 118)
HSLhsl(286, 49%, 31%)
HSVhsv(286, 66%, 46%)
CMYKcmyk(15.3%, 66.1%, 0%, 53.7%)
CIE-LABlab(28.21, 39.71, -32.96)
CIE-LCHlch(28.21, 51.61, 320.31°)
OKLaboklab(39.82% 0.1011 -0.0923)
OKLCHoklch(39.82% 0.137 317.6)
XYZxyz(9.2839, 5.5353, 17.7154)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642876 #3A7628
analogous
#3D2876 #642876 #762861
triadic
#642876 #766428 #287664
tetradic
#642876 #763D28 #3A7628 #286176
square
#642876 #763D28 #3A7628 #286176
split-complementary
#642876 #617628 #28763D
monochromatic
#17091B #3D1948 #642876 #8B37A4 #AB54C5

Accessibility & contrast

On white

9.97
#642876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#642876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642876
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642876#FFFFFF#000000##FFFFFF
##6428761.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F78
Deuteranopia (green-blind)
#2B4474
Tritanopia (blue-blind)
#63364B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #642876;
/* rgb */ color: rgb(100, 40, 118);
/* oklch */ color: oklch(39.8% 0.137 317.6);
Tailwind
colors: {
  custom: {
    50: '#93669e',
    500: '#642876',
    950: '#000000',
  },
}
SCSS
$custom: #642876;
$custom-light: #93669e;
$custom-dark: #000000;
JSON
{
  "hex": "#642876",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 286.154,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39822,
    "c": 0.13687,
    "h": 317.6
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#642876
secondary
#66A852
accent
#D94F6F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642876

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

Preview Lab → · Contrast checker → · Palette generator →

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