#641B78#641B78

#641B78 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.156 H 317.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#641B78
RGBrgb(100, 27, 120)
HSLhsl(287, 63%, 29%)
HSVhsv(287, 78%, 47%)
CMYKcmyk(16.7%, 77.5%, 0%, 52.9%)
CIE-LABlab(26.30, 45.87, -37.29)
CIE-LCHlch(26.30, 59.12, 320.89°)
OKLaboklab(38.5% 0.1159 -0.1048)
OKLCHoklch(38.5% 0.156 317.9)
XYZxyz(9.0371, 4.8497, 18.2257)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B78 #2F781B
analogous
#361B78 #641B78 #781B5E
triadic
#641B78 #78641B #1B7864
tetradic
#641B78 #78361B #2F781B #1B5E78
square
#641B78 #78361B #2F781B #1B5E78
split-complementary
#641B78 #5E781B #1B7836
monochromatic
#150619 #3A1046 #641B78 #8E26AA #B23BD3

Accessibility & contrast

On white

10.66
#641B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#641B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B78
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B78#FFFFFF#000000##FFFFFF
##641B781.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641b78;
/* rgb */ color: rgb(100, 27, 120);
/* oklch */ color: oklch(38.5% 0.156 317.9);
Tailwind
colors: {
  custom: {
    50: '#94609f',
    500: '#641b78',
    950: '#000000',
  },
}
SCSS
$custom: #641b78;
$custom-light: #94609f;
$custom-dark: #000000;
JSON
{
  "hex": "#641b78",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 287.097,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.385,
    "c": 0.15628,
    "h": 317.9
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#641B78
secondary
#59AC43
accent
#E64165
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #641B78

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

Preview Lab → · Contrast checker → · Palette generator →

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