#641878#641878

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

Color values

HEX#641878
RGBrgb(100, 24, 120)
HSLhsl(288, 67%, 28%)
HSVhsv(288, 80%, 47%)
CMYKcmyk(16.7%, 80%, 0%, 52.9%)
CIE-LABlab(25.92, 46.97, -37.90)
CIE-LCHlch(25.92, 60.36, 321.10°)
OKLaboklab(38.23% 0.1188 -0.1066)
OKLCHoklch(38.23% 0.16 318.1)
XYZxyz(8.9719, 4.7191, 18.2039)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641878 #2C7818
analogous
#341878 #641878 #78185C
triadic
#641878 #786418 #187864
tetradic
#641878 #783418 #2C7818 #185C78
square
#641878 #783418 #2C7818 #185C78
split-complementary
#641878 #5C7818 #187834
monochromatic
#15051A #390E45 #641878 #8E22AB #B534D6

Accessibility & contrast

On white

10.80
#641878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641878
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641878#FFFFFF#000000##FFFFFF
##6418781.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#1C4076
Tritanopia (blue-blind)
#632D48
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #641878;
/* rgb */ color: rgb(100, 24, 120);
/* oklch */ color: oklch(38.2% 0.160 318.1);
Tailwind
colors: {
  custom: {
    50: '#945f9f',
    500: '#641878',
    950: '#000000',
  },
}
SCSS
$custom: #641878;
$custom-light: #945f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#641878",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 287.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38228,
    "c": 0.1596,
    "h": 318.1
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#641878
secondary
#56AD3F
accent
#EA3E62
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #641878

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

Preview Lab → · Contrast checker → · Palette generator →

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