#641E9D#641E9D

#641E9D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.189 H 303.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#641E9D
RGBrgb(100, 30, 157)
HSLhsl(273, 68%, 37%)
HSVhsv(273, 81%, 62%)
CMYKcmyk(36.3%, 80.9%, 0%, 38.4%)
CIE-LABlab(29.59, 52.94, -54.97)
CIE-LCHlch(29.59, 76.32, 313.92°)
OKLaboklab(41.72% 0.1053 -0.1568)
OKLCHoklch(41.72% 0.189 303.9)
XYZxyz(11.8042, 6.0722, 32.4419)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E9D #579D1E
analogous
#251E9D #641E9D #9D1E97
triadic
#641E9D #9D641E #1E9D64
tetradic
#641E9D #9D251E #579D1E #1E979D
square
#641E9D #9D251E #579D1E #1E979D
split-complementary
#641E9D #979D1E #1E9D25
monochromatic
#230A36 #43146A #641E9D #8528D0 #A257DF

Accessibility & contrast

On white

9.48
#641E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#641E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641E9D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E9D#FFFFFF#000000##FFFFFF
##641E9D1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#58405E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #641e9d;
/* rgb */ color: rgb(100, 30, 157);
/* oklch */ color: oklch(41.7% 0.189 303.9);
Tailwind
colors: {
  custom: {
    50: '#9663bb',
    500: '#641e9d',
    950: '#000000',
  },
}
SCSS
$custom: #641e9d;
$custom-light: #9663bb;
$custom-dark: #000000;
JSON
{
  "hex": "#641e9d",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 273.071,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41723,
    "c": 0.1889,
    "h": 303.9
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#641E9D
secondary
#86C254
accent
#EB3D8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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