#641E8D#641E8D

#641E8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.173 H 309.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#641E8D
RGBrgb(100, 30, 141)
HSLhsl(278, 65%, 34%)
HSVhsv(278, 79%, 55%)
CMYKcmyk(29.1%, 78.7%, 0%, 44.7%)
CIE-LABlab(28.28, 49.26, -47.28)
CIE-LCHlch(28.28, 68.28, 316.18°)
OKLaboklab(40.39% 0.1094 -0.1342)
OKLCHoklch(40.39% 0.173 309.2)
XYZxyz(10.5265, 5.5612, 25.7130)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E8D #478D1E
analogous
#2C1E8D #641E8D #8D1E7E
triadic
#641E8D #8D641E #1E8D64
tetradic
#641E8D #8D2C1E #478D1E #1E7E8D
square
#641E8D #8D2C1E #478D1E #1E7E8D
split-complementary
#641E8D #7E8D1E #1E8D2C
monochromatic
#1C0928 #40135B #641E8D #8829BF #A54CD9

Accessibility & contrast

On white

9.94
#641E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#641E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641E8D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E8D#FFFFFF#000000##FFFFFF
##641E8D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#5E3955
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641e8d;
/* rgb */ color: rgb(100, 30, 141);
/* oklch */ color: oklch(40.4% 0.173 309.2);
Tailwind
colors: {
  custom: {
    50: '#9562af',
    500: '#641e8d',
    950: '#000000',
  },
}
SCSS
$custom: #641e8d;
$custom-light: #9562af;
$custom-dark: #000000;
JSON
{
  "hex": "#641e8d",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 277.838,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40391,
    "c": 0.17315,
    "h": 309.2
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#641E8D
secondary
#75BC4B
accent
#E8407E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #641E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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