#641D8F#641D8F

#641D8F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.176 H 308.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#641D8F
RGBrgb(100, 29, 143)
HSLhsl(277, 66%, 34%)
HSVhsv(277, 80%, 56%)
CMYKcmyk(30.1%, 79.7%, 0%, 43.9%)
CIE-LABlab(28.30, 50.10, -48.48)
CIE-LCHlch(28.30, 69.71, 315.94°)
OKLaboklab(40.46% 0.1098 -0.1377)
OKLCHoklch(40.46% 0.176 308.6)
XYZxyz(10.6518, 5.5714, 26.4955)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D8F #488F1D
analogous
#2B1D8F #641D8F #8F1D81
triadic
#641D8F #8F641D #1D8F64
tetradic
#641D8F #8F2B1D #488F1D #1D818F
square
#641D8F #8F2B1D #488F1D #1D818F
split-complementary
#641D8F #818F1D #1D8F2B
monochromatic
#1D0829 #40135C #641D8F #8827C2 #A54CDB

Accessibility & contrast

On white

9.93
#641D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641D8F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D8F#FFFFFF#000000##FFFFFF
##641D8F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#5D3A56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641d8f;
/* rgb */ color: rgb(100, 29, 143);
/* oklch */ color: oklch(40.5% 0.176 308.6);
Tailwind
colors: {
  custom: {
    50: '#9562b1',
    500: '#641d8f',
    950: '#000000',
  },
}
SCSS
$custom: #641d8f;
$custom-light: #9562b1;
$custom-dark: #000000;
JSON
{
  "hex": "#641d8f",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 277.368,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4046,
    "c": 0.17615,
    "h": 308.6
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#641D8F
secondary
#76BD4B
accent
#E93F7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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