#641F96#641F96

#641F96 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.181 H 306.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#641F96
RGBrgb(100, 31, 150)
HSLhsl(275, 66%, 35%)
HSVhsv(275, 79%, 59%)
CMYKcmyk(33.3%, 79.3%, 0%, 41.2%)
CIE-LABlab(29.14, 50.93, -51.44)
CIE-LCHlch(29.14, 72.39, 314.72°)
OKLaboklab(41.22% 0.1064 -0.1464)
OKLCHoklch(41.22% 0.181 306)
XYZxyz(11.2493, 5.8914, 29.3928)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F96 #51961F
analogous
#281F96 #641F96 #961F8C
triadic
#641F96 #96641F #1F9664
tetradic
#641F96 #96281F #51961F #1F8C96
square
#641F96 #96281F #51961F #1F8C96
split-complementary
#641F96 #8C961F #1F9628
monochromatic
#200A31 #421563 #641F96 #8629C9 #A354DC

Accessibility & contrast

On white

9.64
#641F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#641F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F96
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F96#FFFFFF#000000##FFFFFF
##641F961.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#5B3E5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641f96;
/* rgb */ color: rgb(100, 31, 150);
/* oklch */ color: oklch(41.2% 0.181 306.0);
Tailwind
colors: {
  custom: {
    50: '#9563b6',
    500: '#641f96',
    950: '#000000',
  },
}
SCSS
$custom: #641f96;
$custom-light: #9563b6;
$custom-dark: #000000;
JSON
{
  "hex": "#641f96",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 274.79,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.181,
    "h": 306
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#641F96
secondary
#80BF52
accent
#E93F86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641F96

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

Preview Lab → · Contrast checker → · Palette generator →

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