#641D9A#641D9A

#641D9A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.187 H 304.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#641D9A
RGBrgb(100, 29, 154)
HSLhsl(274, 68%, 36%)
HSVhsv(274, 81%, 60%)
CMYKcmyk(35.1%, 81.2%, 0%, 39.6%)
CIE-LABlab(29.21, 52.61, -53.76)
CIE-LCHlch(29.21, 75.22, 314.38°)
OKLaboklab(41.38% 0.107 -0.1532)
OKLCHoklch(41.38% 0.187 304.9)
XYZxyz(11.5263, 5.9212, 31.1013)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D9A #539A1D
analogous
#251D9A #641D9A #9A1D91
triadic
#641D9A #9A641D #1D9A64
tetradic
#641D9A #9A251D #539A1D #1D919A
square
#641D9A #9A251D #539A1D #1D919A
split-complementary
#641D9A #919A1D #1D9A25
monochromatic
#210A33 #431366 #641D9A #8527CE #A253DF

Accessibility & contrast

On white

9.61
#641D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#641D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D9A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D9A#FFFFFF#000000##FFFFFF
##641D9A1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#5A3F5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641d9a;
/* rgb */ color: rgb(100, 29, 154);
/* oklch */ color: oklch(41.4% 0.187 304.9);
Tailwind
colors: {
  custom: {
    50: '#9663b9',
    500: '#641d9a',
    950: '#000000',
  },
}
SCSS
$custom: #641d9a;
$custom-light: #9663b9;
$custom-dark: #000000;
JSON
{
  "hex": "#641d9a",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 274.08,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.18689,
    "h": 304.9
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#641D9A
secondary
#82C251
accent
#EB3D88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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