#641578#641578

#641578 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.163 H 318.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#641578
RGBrgb(100, 21, 120)
HSLhsl(288, 70%, 28%)
HSVhsv(288, 83%, 47%)
CMYKcmyk(16.7%, 82.5%, 0%, 52.9%)
CIE-LABlab(25.57, 47.98, -38.47)
CIE-LCHlch(25.57, 61.50, 321.28°)
OKLaboklab(37.98% 0.1214 -0.1082)
OKLCHoklch(37.98% 0.163 318.3)
XYZxyz(8.9134, 4.6021, 18.1845)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641578 #297815
analogous
#331578 #641578 #78155A
triadic
#641578 #786415 #157864
tetradic
#641578 #783315 #297815 #155A78
square
#641578 #783315 #297815 #155A78
split-complementary
#641578 #5A7815 #157833
monochromatic
#16051A #390C44 #641578 #8F1EAC #B72DDA

Accessibility & contrast

On white

10.94
#641578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#641578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641578
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641578#FFFFFF#000000##FFFFFF
##6415781.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#1A3F76
Tritanopia (blue-blind)
#632C47
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #641578;
/* rgb */ color: rgb(100, 21, 120);
/* oklch */ color: oklch(38.0% 0.163 318.3);
Tailwind
colors: {
  custom: {
    50: '#945da0',
    500: '#641578',
    950: '#000000',
  },
}
SCSS
$custom: #641578;
$custom-light: #945da0;
$custom-dark: #000000;
JSON
{
  "hex": "#641578",
  "rgb": {
    "r": 100,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 287.879,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37982,
    "c": 0.16264,
    "h": 318.3
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#641578
secondary
#52AE3B
accent
#ED3B5F
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #641578

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

Preview Lab → · Contrast checker → · Palette generator →

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