#641A78#641A78

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

Color values

HEX#641A78
RGBrgb(100, 26, 120)
HSLhsl(287, 64%, 29%)
HSVhsv(287, 78%, 47%)
CMYKcmyk(16.7%, 78.3%, 0%, 52.9%)
CIE-LABlab(26.17, 46.25, -37.50)
CIE-LCHlch(26.17, 59.54, 320.96°)
OKLaboklab(38.41% 0.1169 -0.1054)
OKLCHoklch(38.41% 0.157 317.9)
XYZxyz(9.0146, 4.8046, 18.2182)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A78 #2E781A
analogous
#351A78 #641A78 #781A5D
triadic
#641A78 #78641A #1A7864
tetradic
#641A78 #78351A #2E781A #1A5D78
square
#641A78 #78351A #2E781A #1A5D78
split-complementary
#641A78 #5D781A #1A7835
monochromatic
#150519 #3A0F46 #641A78 #8E25AA #B338D4

Accessibility & contrast

On white

10.71
#641A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#641A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A78
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A78#FFFFFF#000000##FFFFFF
##641A781.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#1E4076
Tritanopia (blue-blind)
#632E48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #641a78;
/* rgb */ color: rgb(100, 26, 120);
/* oklch */ color: oklch(38.4% 0.157 317.9);
Tailwind
colors: {
  custom: {
    50: '#945f9f',
    500: '#641a78',
    950: '#000000',
  },
}
SCSS
$custom: #641a78;
$custom-light: #945f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#641a78",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 287.234,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38406,
    "c": 0.15743,
    "h": 317.9
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#641A78
secondary
#58AC41
accent
#E74064
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #641A78

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

Preview Lab → · Contrast checker → · Palette generator →

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