#641B96#641B96

#641B96 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.185 H 306.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#641B96
RGBrgb(100, 27, 150)
HSLhsl(276, 69%, 35%)
HSVhsv(276, 82%, 59%)
CMYKcmyk(33.3%, 82%, 0%, 41.2%)
CIE-LABlab(28.63, 52.40, -52.26)
CIE-LCHlch(28.63, 74.01, 315.08°)
OKLaboklab(40.87% 0.1097 -0.1488)
OKLCHoklch(40.87% 0.185 306.4)
XYZxyz(11.1513, 5.6953, 29.3601)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B96 #4D961B
analogous
#271B96 #641B96 #961B8B
triadic
#641B96 #96641B #1B9664
tetradic
#641B96 #96271B #4D961B #1B8B96
square
#641B96 #96271B #4D961B #1B8B96
split-complementary
#641B96 #8B961B #1B9627
monochromatic
#1F082E #411262 #641B96 #8724CA #A34DDF

Accessibility & contrast

On white

9.82
#641B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#641B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B96
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B96#FFFFFF#000000##FFFFFF
##641B961.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#5B3C59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641b96;
/* rgb */ color: rgb(100, 27, 150);
/* oklch */ color: oklch(40.9% 0.185 306.4);
Tailwind
colors: {
  custom: {
    50: '#9662b6',
    500: '#641b96',
    950: '#000000',
  },
}
SCSS
$custom: #641b96;
$custom-light: #9662b6;
$custom-dark: #000000;
JSON
{
  "hex": "#641b96",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 275.61,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.18486,
    "h": 306.4
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#641B96
secondary
#7BC14C
accent
#EC3B83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641B96

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

Preview Lab → · Contrast checker → · Palette generator →

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