#641B94#641B94

#641B94 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.183 H 307.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#641B94
RGBrgb(100, 27, 148)
HSLhsl(276, 69%, 34%)
HSVhsv(276, 82%, 58%)
CMYKcmyk(32.4%, 81.8%, 0%, 42%)
CIE-LABlab(28.46, 51.95, -51.30)
CIE-LCHlch(28.46, 73.01, 315.36°)
OKLaboklab(40.7% 0.1102 -0.146)
OKLCHoklch(40.7% 0.183 307.1)
XYZxyz(10.9916, 5.6314, 28.5192)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B94 #4B941B
analogous
#271B94 #641B94 #941B88
triadic
#641B94 #94641B #1B9464
tetradic
#641B94 #94271B #4B941B #1B8894
square
#641B94 #94271B #4B941B #1B8894
split-complementary
#641B94 #88941B #1B9427
monochromatic
#1E082C #411260 #641B94 #8724C8 #A44BDE

Accessibility & contrast

On white

9.88
#641B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#641B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B94
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B94#FFFFFF#000000##FFFFFF
##641B941.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#5C3B58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641b94;
/* rgb */ color: rgb(100, 27, 148);
/* oklch */ color: oklch(40.7% 0.183 307.1);
Tailwind
colors: {
  custom: {
    50: '#9561b4',
    500: '#641b94',
    950: '#000000',
  },
}
SCSS
$custom: #641b94;
$custom-light: #9561b4;
$custom-dark: #000000;
JSON
{
  "hex": "#641b94",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 276.198,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.18293,
    "h": 307.1
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#641B94
secondary
#79C04B
accent
#EC3C82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641B94

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

Preview Lab → · Contrast checker → · Palette generator →

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