#641B97#641B97

#641B97 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.186 H 306.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#641B97
RGBrgb(100, 27, 151)
HSLhsl(275, 70%, 35%)
HSVhsv(275, 82%, 59%)
CMYKcmyk(33.8%, 82.1%, 0%, 40.8%)
CIE-LABlab(28.71, 52.63, -52.74)
CIE-LCHlch(28.71, 74.50, 314.94°)
OKLaboklab(40.95% 0.1094 -0.1502)
OKLCHoklch(40.95% 0.186 306.1)
XYZxyz(11.2321, 5.7277, 29.7860)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B97 #4E971B
analogous
#261B97 #641B97 #971B8C
triadic
#641B97 #97641B #1B9764
tetradic
#641B97 #97261B #4E971B #1B8C97
square
#641B97 #97261B #4E971B #1B8C97
split-complementary
#641B97 #8C971B #1B9726
monochromatic
#1F082F #421263 #641B97 #8624CB #A34DDF

Accessibility & contrast

On white

9.79
#641B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#641B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B97
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B97#FFFFFF#000000##FFFFFF
##641B971.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#5B3C5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #641b97;
/* rgb */ color: rgb(100, 27, 151);
/* oklch */ color: oklch(41.0% 0.186 306.1);
Tailwind
colors: {
  custom: {
    50: '#9662b6',
    500: '#641b97',
    950: '#000000',
  },
}
SCSS
$custom: #641b97;
$custom-light: #9662b6;
$custom-dark: #000000;
JSON
{
  "hex": "#641b97",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 275.323,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.18582,
    "h": 306.1
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#641B97
secondary
#7DC14C
accent
#EC3B84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641B97

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

Preview Lab → · Contrast checker → · Palette generator →

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