#641D78#641D78

#641D78 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.154 H 317.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#641D78
RGBrgb(100, 29, 120)
HSLhsl(287, 61%, 29%)
HSVhsv(287, 76%, 47%)
CMYKcmyk(16.7%, 75.8%, 0%, 52.9%)
CIE-LABlab(26.58, 45.09, -36.85)
CIE-LCHlch(26.58, 58.23, 320.75°)
OKLaboklab(38.69% 0.1139 -0.1036)
OKLCHoklch(38.69% 0.154 317.7)
XYZxyz(9.0846, 4.9445, 18.2415)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D78 #31781D
analogous
#371D78 #641D78 #781D5F
triadic
#641D78 #78641D #1D7864
tetradic
#641D78 #78371D #31781D #1D5F78
square
#641D78 #78371D #31781D #1D5F78
split-complementary
#641D78 #5F781D #1D7837
monochromatic
#150619 #3B1147 #641D78 #8D29A9 #B13FD1

Accessibility & contrast

On white

10.56
#641D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#641D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D78
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D78#FFFFFF#000000##FFFFFF
##641D781.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#204176
Tritanopia (blue-blind)
#633049
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641d78;
/* rgb */ color: rgb(100, 29, 120);
/* oklch */ color: oklch(38.7% 0.154 317.7);
Tailwind
colors: {
  custom: {
    50: '#93619f',
    500: '#641d78',
    950: '#000000',
  },
}
SCSS
$custom: #641d78;
$custom-light: #93619f;
$custom-dark: #000000;
JSON
{
  "hex": "#641d78",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 286.813,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38694,
    "c": 0.15393,
    "h": 317.7
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#641D78
secondary
#5CAC45
accent
#E44467
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #641D78

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

Preview Lab → · Contrast checker → · Palette generator →

#641D78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva