#641F97#641F97

#641F97 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.182 H 305.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#641F97
RGBrgb(100, 31, 151)
HSLhsl(275, 66%, 36%)
HSVhsv(275, 79%, 59%)
CMYKcmyk(33.8%, 79.5%, 0%, 40.8%)
CIE-LABlab(29.22, 51.17, -51.91)
CIE-LCHlch(29.22, 72.89, 314.58°)
OKLaboklab(41.3% 0.1062 -0.1478)
OKLCHoklch(41.3% 0.182 305.7)
XYZxyz(11.3302, 5.9238, 29.8187)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F97 #52971F
analogous
#281F97 #641F97 #971F8E
triadic
#641F97 #97641F #1F9764
tetradic
#641F97 #97281F #52971F #1F8E97
square
#641F97 #97281F #52971F #1F8E97
split-complementary
#641F97 #8E971F #1F9728
monochromatic
#210A31 #421564 #641F97 #8629CA #A254DC

Accessibility & contrast

On white

9.61
#641F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641F97
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F97#FFFFFF#000000##FFFFFF
##641F971.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.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: #641f97;
/* rgb */ color: rgb(100, 31, 151);
/* oklch */ color: oklch(41.3% 0.182 305.7);
Tailwind
colors: {
  custom: {
    50: '#9563b6',
    500: '#641f97',
    950: '#000000',
  },
}
SCSS
$custom: #641f97;
$custom-light: #9563b6;
$custom-dark: #000000;
JSON
{
  "hex": "#641f97",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 274.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41304,
    "c": 0.18199,
    "h": 305.7
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#641F97
secondary
#81BF52
accent
#E93F87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641F97

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

Preview Lab → · Contrast checker → · Palette generator →

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