#641E8B#641E8B

#641E8B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.171 H 309.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#641E8B
RGBrgb(100, 30, 139)
HSLhsl(279, 64%, 33%)
HSVhsv(279, 78%, 55%)
CMYKcmyk(28.1%, 78.4%, 0%, 45.5%)
CIE-LABlab(28.12, 48.82, -46.30)
CIE-LCHlch(28.12, 67.28, 316.52°)
OKLaboklab(40.23% 0.1098 -0.1313)
OKLCHoklch(40.23% 0.171 309.9)
XYZxyz(10.3791, 5.5022, 24.9364)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E8B #458B1E
analogous
#2D1E8B #641E8B #8B1E7B
triadic
#641E8B #8B641E #1E8B64
tetradic
#641E8B #8B2D1E #458B1E #1E7B8B
square
#641E8B #8B2D1E #458B1E #1E7B8B
split-complementary
#641E8B #7B8B1E #1E8B2D
monochromatic
#1C0826 #401359 #641E8B #8829BD #A64BD8

Accessibility & contrast

On white

10.00
#641E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#641E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641E8B
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E8B#FFFFFF#000000##FFFFFF
##641E8B1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#5E3854
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641e8b;
/* rgb */ color: rgb(100, 30, 139);
/* oklch */ color: oklch(40.2% 0.171 309.9);
Tailwind
colors: {
  custom: {
    50: '#9462ae',
    500: '#641e8b',
    950: '#000000',
  },
}
SCSS
$custom: #641e8b;
$custom-light: #9462ae;
$custom-dark: #000000;
JSON
{
  "hex": "#641e8b",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 278.532,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40231,
    "c": 0.17119,
    "h": 309.9
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#641E8B
secondary
#72BB4A
accent
#E7407C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #641E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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