#641987#641987

#641987 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.172 H 311.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#641987
RGBrgb(100, 25, 135)
HSLhsl(281, 69%, 31%)
HSVhsv(281, 81%, 53%)
CMYKcmyk(25.9%, 81.5%, 0%, 47.1%)
CIE-LABlab(27.17, 49.77, -45.34)
CIE-LCHlch(27.17, 67.33, 317.67°)
OKLaboklab(39.47% 0.1151 -0.1285)
OKLCHoklch(39.47% 0.172 311.9)
XYZxyz(9.9755, 5.1541, 23.3863)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641987 #3C8719
analogous
#2D1987 #641987 #871973
triadic
#641987 #876419 #198764
tetradic
#641987 #872D19 #3C8719 #197387
square
#641987 #872D19 #3C8719 #197387
split-complementary
#641987 #738719 #19872D
monochromatic
#180620 #3E0F53 #641987 #8A23BB #AA3FDB

Accessibility & contrast

On white

10.34
#641987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#641987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641987
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641987#FFFFFF#000000##FFFFFF
##6419871.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#004285
Tritanopia (blue-blind)
#603450
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641987;
/* rgb */ color: rgb(100, 25, 135);
/* oklch */ color: oklch(39.5% 0.172 311.9);
Tailwind
colors: {
  custom: {
    50: '#9460ab',
    500: '#641987',
    950: '#000000',
  },
}
SCSS
$custom: #641987;
$custom-light: #9460ab;
$custom-dark: #000000;
JSON
{
  "hex": "#641987",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 280.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39465,
    "c": 0.17248,
    "h": 311.9
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#641987
secondary
#68BA41
accent
#EC3C74
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #641987

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

Preview Lab → · Contrast checker → · Palette generator →

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