#641C97#641C97

#641C97 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.185 H 306.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#641C97
RGBrgb(100, 28, 151)
HSLhsl(275, 69%, 35%)
HSVhsv(275, 81%, 59%)
CMYKcmyk(33.8%, 81.5%, 0%, 40.8%)
CIE-LABlab(28.84, 52.28, -52.54)
CIE-LCHlch(28.84, 74.12, 314.86°)
OKLaboklab(41.04% 0.1086 -0.1496)
OKLCHoklch(41.04% 0.185 306)
XYZxyz(11.2555, 5.7743, 29.7938)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641C97 #4F971C
analogous
#271C97 #641C97 #971C8C
triadic
#641C97 #97641C #1C9764
tetradic
#641C97 #97271C #4F971C #1C8C97
square
#641C97 #97271C #4F971C #1C8C97
split-complementary
#641C97 #8C971C #1C9727
monochromatic
#200930 #421263 #641C97 #8626CB #A34FDE

Accessibility & contrast

On white

9.75
#641C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641C97
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641C97#FFFFFF#000000##FFFFFF
##641C971.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641c97;
/* rgb */ color: rgb(100, 28, 151);
/* oklch */ color: oklch(41.0% 0.185 306.0);
Tailwind
colors: {
  custom: {
    50: '#9662b6',
    500: '#641c97',
    950: '#000000',
  },
}
SCSS
$custom: #641c97;
$custom-light: #9662b6;
$custom-dark: #000000;
JSON
{
  "hex": "#641c97",
  "rgb": {
    "r": 100,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 275.122,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41037,
    "c": 0.1849,
    "h": 306
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#641C97
secondary
#7EC14E
accent
#EC3C85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641C97

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

Preview Lab → · Contrast checker → · Palette generator →

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