#641E78#641E78

#641E78 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.153 H 317.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#641E78
RGBrgb(100, 30, 120)
HSLhsl(287, 60%, 29%)
HSVhsv(287, 75%, 47%)
CMYKcmyk(16.7%, 75%, 0%, 52.9%)
CIE-LABlab(26.72, 44.69, -36.62)
CIE-LCHlch(26.72, 57.77, 320.67°)
OKLaboklab(38.8% 0.1128 -0.1029)
OKLCHoklch(38.8% 0.153 317.6)
XYZxyz(9.1095, 4.9943, 18.2498)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E78 #32781E
analogous
#371E78 #641E78 #781E5F
triadic
#641E78 #78641E #1E7864
tetradic
#641E78 #78371E #32781E #1E5F78
square
#641E78 #78371E #32781E #1E5F78
split-complementary
#641E78 #5F781E #1E7837
monochromatic
#140618 #3B1247 #641E78 #8D2AA9 #B041CF

Accessibility & contrast

On white

10.51
#641E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#641E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641E78
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E78#FFFFFF#000000##FFFFFF
##641E781.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641e78;
/* rgb */ color: rgb(100, 30, 120);
/* oklch */ color: oklch(38.8% 0.153 317.6);
Tailwind
colors: {
  custom: {
    50: '#93619f',
    500: '#641e78',
    950: '#000000',
  },
}
SCSS
$custom: #641e78;
$custom-light: #93619f;
$custom-dark: #000000;
JSON
{
  "hex": "#641e78",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 286.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38796,
    "c": 0.1527,
    "h": 317.6
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#641E78
secondary
#5DAC46
accent
#E34568
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #641E78

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

Preview Lab → · Contrast checker → · Palette generator →

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