#641C78#641C78

#641C78 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.155 H 317.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#641C78
RGBrgb(100, 28, 120)
HSLhsl(287, 62%, 29%)
HSVhsv(287, 77%, 47%)
CMYKcmyk(16.7%, 76.7%, 0%, 52.9%)
CIE-LABlab(26.44, 45.49, -37.07)
CIE-LCHlch(26.44, 58.68, 320.82°)
OKLaboklab(38.6% 0.1149 -0.1042)
OKLCHoklch(38.6% 0.155 317.8)
XYZxyz(9.0605, 4.8963, 18.2335)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641C78 #30781C
analogous
#361C78 #641C78 #781C5E
triadic
#641C78 #78641C #1C7864
tetradic
#641C78 #78361C #30781C #1C5E78
square
#641C78 #78361C #30781C #1C5E78
split-complementary
#641C78 #5E781C #1C7836
monochromatic
#150619 #3B1046 #641C78 #8D28AA #B13DD2

Accessibility & contrast

On white

10.61
#641C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#641C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641C78
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641C78#FFFFFF#000000##FFFFFF
##641C781.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#1F4176
Tritanopia (blue-blind)
#632F48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641c78;
/* rgb */ color: rgb(100, 28, 120);
/* oklch */ color: oklch(38.6% 0.155 317.8);
Tailwind
colors: {
  custom: {
    50: '#93609f',
    500: '#641c78',
    950: '#000000',
  },
}
SCSS
$custom: #641c78;
$custom-light: #93609f;
$custom-dark: #000000;
JSON
{
  "hex": "#641c78",
  "rgb": {
    "r": 100,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 286.957,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.15512,
    "h": 317.8
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#641C78
secondary
#5AAC44
accent
#E54366
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #641C78

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

Preview Lab → · Contrast checker → · Palette generator →

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