#641E97#641E97

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

Color values

HEX#641E97
RGBrgb(100, 30, 151)
HSLhsl(275, 67%, 35%)
HSVhsv(275, 80%, 59%)
CMYKcmyk(33.8%, 80.1%, 0%, 40.8%)
CIE-LABlab(29.09, 51.55, -52.13)
CIE-LCHlch(29.09, 73.31, 314.68°)
OKLaboklab(41.21% 0.107 -0.1484)
OKLCHoklch(41.21% 0.183 305.8)
XYZxyz(11.3045, 5.8723, 29.8101)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E97 #51971E
analogous
#281E97 #641E97 #971E8D
triadic
#641E97 #97641E #1E9764
tetradic
#641E97 #97281E #51971E #1E8D97
square
#641E97 #97281E #51971E #1E8D97
split-complementary
#641E97 #8D971E #1E9728
monochromatic
#200A31 #421464 #641E97 #8628CA #A353DD

Accessibility & contrast

On white

9.66
#641E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#641E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641E97
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E97#FFFFFF#000000##FFFFFF
##641E971.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#5B3E5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641e97;
/* rgb */ color: rgb(100, 30, 151);
/* oklch */ color: oklch(41.2% 0.183 305.8);
Tailwind
colors: {
  custom: {
    50: '#9563b6',
    500: '#641e97',
    950: '#000000',
  },
}
SCSS
$custom: #641e97;
$custom-light: #9563b6;
$custom-dark: #000000;
JSON
{
  "hex": "#641e97",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 274.711,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41213,
    "c": 0.18299,
    "h": 305.8
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#641E97
secondary
#80C051
accent
#EA3E86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641E97

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

Preview Lab → · Contrast checker → · Palette generator →

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