#641A97#641A97

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

Color values

HEX#641A97
RGBrgb(100, 26, 151)
HSLhsl(276, 71%, 35%)
HSVhsv(276, 83%, 59%)
CMYKcmyk(33.8%, 82.8%, 0%, 40.8%)
CIE-LABlab(28.60, 52.97, -52.93)
CIE-LCHlch(28.60, 74.88, 315.02°)
OKLaboklab(40.87% 0.1101 -0.1508)
OKLCHoklch(40.87% 0.187 306.1)
XYZxyz(11.2096, 5.6826, 29.7785)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A97 #4D971A
analogous
#261A97 #641A97 #971A8C
triadic
#641A97 #97641A #1A9764
tetradic
#641A97 #97261A #4D971A #1A8C97
square
#641A97 #97261A #4D971A #1A8C97
split-complementary
#641A97 #8C971A #1A9726
monochromatic
#1F082F #411163 #641A97 #8723CB #A34BE0

Accessibility & contrast

On white

9.83
#641A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641A97
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A97#FFFFFF#000000##FFFFFF
##641A971.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641a97;
/* rgb */ color: rgb(100, 26, 151);
/* oklch */ color: oklch(40.9% 0.187 306.1);
Tailwind
colors: {
  custom: {
    50: '#9661b6',
    500: '#641a97',
    950: '#000000',
  },
}
SCSS
$custom: #641a97;
$custom-light: #9661b6;
$custom-dark: #000000;
JSON
{
  "hex": "#641a97",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 275.52,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.18671,
    "h": 306.1
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#641A97
secondary
#7BC24B
accent
#ED3A83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641A97

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

Preview Lab → · Contrast checker → · Palette generator →

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