#641C9D#641C9D

#641C9D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.191 H 304.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#641C9D
RGBrgb(100, 28, 157)
HSLhsl(273, 70%, 36%)
HSVhsv(273, 82%, 62%)
CMYKcmyk(36.3%, 82.2%, 0%, 38.4%)
CIE-LABlab(29.35, 53.65, -55.37)
CIE-LCHlch(29.35, 77.10, 314.10°)
OKLaboklab(41.55% 0.1069 -0.158)
OKLCHoklch(41.55% 0.191 304.1)
XYZxyz(11.7552, 5.9742, 32.4256)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641C9D #559D1C
analogous
#231C9D #641C9D #9D1C96
triadic
#641C9D #9D641C #1C9D64
tetradic
#641C9D #9D231C #559D1C #1C969D
square
#641C9D #9D231C #559D1C #1C969D
split-complementary
#641C9D #969D1C #1C9D23
monochromatic
#220935 #431369 #641C9D #8525D1 #A253E0

Accessibility & contrast

On white

9.57
#641C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#641C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641C9D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641C9D#FFFFFF#000000##FFFFFF
##641C9D1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#59405E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641c9d;
/* rgb */ color: rgb(100, 28, 157);
/* oklch */ color: oklch(41.6% 0.191 304.1);
Tailwind
colors: {
  custom: {
    50: '#9662bb',
    500: '#641c9d',
    950: '#000000',
  },
}
SCSS
$custom: #641c9d;
$custom-light: #9662bb;
$custom-dark: #000000;
JSON
{
  "hex": "#641c9d",
  "rgb": {
    "r": 100,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 273.488,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41551,
    "c": 0.19072,
    "h": 304.1
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#641C9D
secondary
#84C351
accent
#ED3B8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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