#641978#641978

#641978 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.159 H 318.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#641978
RGBrgb(100, 25, 120)
HSLhsl(287, 66%, 28%)
HSVhsv(287, 79%, 47%)
CMYKcmyk(16.7%, 79.2%, 0%, 52.9%)
CIE-LABlab(26.04, 46.62, -37.70)
CIE-LCHlch(26.04, 59.96, 321.03°)
OKLaboklab(38.32% 0.1178 -0.106)
OKLCHoklch(38.32% 0.159 318)
XYZxyz(8.9928, 4.7611, 18.2109)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641978 #2D7819
analogous
#341978 #641978 #78195C
triadic
#641978 #786419 #197864
tetradic
#641978 #783419 #2D7819 #195C78
square
#641978 #783419 #2D7819 #195C78
split-complementary
#641978 #5C7819 #197834
monochromatic
#150519 #3A0E45 #641978 #8E24AB #B436D5

Accessibility & contrast

On white

10.76
#641978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#641978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641978
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641978#FFFFFF#000000##FFFFFF
##6419781.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#1D4076
Tritanopia (blue-blind)
#632E48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #641978;
/* rgb */ color: rgb(100, 25, 120);
/* oklch */ color: oklch(38.3% 0.159 318.0);
Tailwind
colors: {
  custom: {
    50: '#945f9f',
    500: '#641978',
    950: '#000000',
  },
}
SCSS
$custom: #641978;
$custom-light: #945f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#641978",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 287.368,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.15853,
    "h": 318
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#641978
secondary
#57AD40
accent
#E83F63
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #641978

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

Preview Lab → · Contrast checker → · Palette generator →

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