#641D8A#641D8A

#641D8A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.171 H 310.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#641D8A
RGBrgb(100, 29, 138)
HSLhsl(279, 65%, 33%)
HSVhsv(279, 79%, 54%)
CMYKcmyk(27.5%, 79%, 0%, 45.9%)
CIE-LABlab(27.91, 48.98, -46.02)
CIE-LCHlch(27.91, 67.20, 316.78°)
OKLaboklab(40.06% 0.111 -0.1305)
OKLCHoklch(40.06% 0.171 310.4)
XYZxyz(10.2814, 5.4233, 24.5450)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D8A #438A1D
analogous
#2E1D8A #641D8A #8A1D79
triadic
#641D8A #8A641D #1D8A64
tetradic
#641D8A #8A2E1D #438A1D #1D798A
square
#641D8A #8A2E1D #438A1D #1D798A
split-complementary
#641D8A #798A1D #1D8A2E
monochromatic
#1B0825 #3F1257 #641D8A #8928BD #A649D9

Accessibility & contrast

On white

10.07
#641D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#641D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D8A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D8A#FFFFFF#000000##FFFFFF
##641D8A1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#5F3853
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641d8a;
/* rgb */ color: rgb(100, 29, 138);
/* oklch */ color: oklch(40.1% 0.171 310.4);
Tailwind
colors: {
  custom: {
    50: '#9462ad',
    500: '#641d8a',
    950: '#000000',
  },
}
SCSS
$custom: #641d8a;
$custom-light: #9462ad;
$custom-dark: #000000;
JSON
{
  "hex": "#641d8a",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 279.083,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.17128,
    "h": 310.4
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#641D8A
secondary
#70BB48
accent
#E8407A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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