#641778#641778

#641778 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.161 H 318.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#641778
RGBrgb(100, 23, 120)
HSLhsl(288, 68%, 28%)
HSVhsv(288, 81%, 47%)
CMYKcmyk(16.7%, 80.8%, 0%, 52.9%)
CIE-LABlab(25.80, 47.32, -38.10)
CIE-LCHlch(25.80, 60.75, 321.16°)
OKLaboklab(38.14% 0.1197 -0.1072)
OKLCHoklch(38.14% 0.161 318.1)
XYZxyz(8.9516, 4.6786, 18.1972)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641778 #2B7817
analogous
#331778 #641778 #78175B
triadic
#641778 #786417 #177864
tetradic
#641778 #783317 #2B7817 #175B78
square
#641778 #783317 #2B7817 #175B78
split-complementary
#641778 #5B7817 #177833
monochromatic
#15051A #390D45 #641778 #8F21AB #B532D8

Accessibility & contrast

On white

10.85
#641778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#641778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641778
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641778#FFFFFF#000000##FFFFFF
##6417781.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641778;
/* rgb */ color: rgb(100, 23, 120);
/* oklch */ color: oklch(38.1% 0.161 318.1);
Tailwind
colors: {
  custom: {
    50: '#945e9f',
    500: '#641778',
    950: '#000000',
  },
}
SCSS
$custom: #641778;
$custom-light: #945e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#641778",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 287.629,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38144,
    "c": 0.16064,
    "h": 318.1
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

primary
#641778
secondary
#55AD3E
accent
#EB3D61
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #641778

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

Preview Lab → · Contrast checker → · Palette generator →

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