#641D8D#641D8D

#641D8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.174 H 309.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#641D8D
RGBrgb(100, 29, 141)
HSLhsl(278, 66%, 33%)
HSVhsv(278, 79%, 55%)
CMYKcmyk(29.1%, 79.4%, 0%, 44.7%)
CIE-LABlab(28.14, 49.65, -47.50)
CIE-LCHlch(28.14, 68.71, 316.27°)
OKLaboklab(40.3% 0.1103 -0.1348)
OKLCHoklch(40.3% 0.174 309.3)
XYZxyz(10.5016, 5.5113, 25.7047)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D8D #468D1D
analogous
#2C1D8D #641D8D #8D1D7E
triadic
#641D8D #8D641D #1D8D64
tetradic
#641D8D #8D2C1D #468D1D #1D7E8D
square
#641D8D #8D2C1D #468D1D #1D7E8D
split-complementary
#641D8D #7E8D1D #1D8D2C
monochromatic
#1C0827 #40135A #641D8D #8827C0 #A54BDA

Accessibility & contrast

On white

9.99
#641D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641D8D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D8D#FFFFFF#000000##FFFFFF
##641D8D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641d8d;
/* rgb */ color: rgb(100, 29, 141);
/* oklch */ color: oklch(40.3% 0.174 309.3);
Tailwind
colors: {
  custom: {
    50: '#9562af',
    500: '#641d8d',
    950: '#000000',
  },
}
SCSS
$custom: #641d8d;
$custom-light: #9562af;
$custom-dark: #000000;
JSON
{
  "hex": "#641d8d",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 278.036,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40298,
    "c": 0.1742,
    "h": 309.3
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#641D8D
secondary
#74BC4A
accent
#E93F7D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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