#641C9E#641C9E

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

Color values

HEX#641C9E
RGBrgb(100, 28, 158)
HSLhsl(273, 70%, 36%)
HSVhsv(273, 82%, 62%)
CMYKcmyk(36.7%, 82.3%, 0%, 38%)
CIE-LABlab(29.43, 53.88, -55.84)
CIE-LCHlch(29.43, 77.60, 313.98°)
OKLaboklab(41.64% 0.1066 -0.1593)
OKLCHoklch(41.64% 0.192 303.8)
XYZxyz(11.8409, 6.0085, 32.8771)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641C9E #569E1C
analogous
#231C9E #641C9E #9E1C97
triadic
#641C9E #9E641C #1C9E64
tetradic
#641C9E #9E231C #569E1C #1C979E
square
#641C9E #9E231C #569E1C #1C979E
split-complementary
#641C9E #979E1C #1C9E23
monochromatic
#220A36 #43136A #641C9E #8525D2 #A254E1

Accessibility & contrast

On white

9.54
#641C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#641C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641C9E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641C9E#FFFFFF#000000##FFFFFF
##641C9E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#58405E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641c9e;
/* rgb */ color: rgb(100, 28, 158);
/* oklch */ color: oklch(41.6% 0.192 303.8);
Tailwind
colors: {
  custom: {
    50: '#9662bc',
    500: '#641c9e',
    950: '#000000',
  },
}
SCSS
$custom: #641c9e;
$custom-light: #9662bc;
$custom-dark: #000000;
JSON
{
  "hex": "#641c9e",
  "rgb": {
    "r": 100,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 273.231,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41638,
    "c": 0.1917,
    "h": 303.8
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#641C9E
secondary
#85C452
accent
#ED3B8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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