#641D99#641D99

#641D99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.186 H 305.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#641D99
RGBrgb(100, 29, 153)
HSLhsl(274, 68%, 36%)
HSVhsv(274, 81%, 60%)
CMYKcmyk(34.6%, 81%, 0%, 40%)
CIE-LABlab(29.13, 52.38, -53.29)
CIE-LCHlch(29.13, 74.72, 314.50°)
OKLaboklab(41.29% 0.1073 -0.1519)
OKLCHoklch(41.29% 0.186 305.2)
XYZxyz(11.4434, 5.8880, 30.6645)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D99 #52991D
analogous
#261D99 #641D99 #991D90
triadic
#641D99 #99641D #1D9964
tetradic
#641D99 #99261D #52991D #1D9099
square
#641D99 #99261D #52991D #1D9099
split-complementary
#641D99 #90991D #1D9926
monochromatic
#210932 #421366 #641D99 #8627CC #A252DE

Accessibility & contrast

On white

9.64
#641D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641D99
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D99#FFFFFF#000000##FFFFFF
##641D991.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#5A3E5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641d99;
/* rgb */ color: rgb(100, 29, 153);
/* oklch */ color: oklch(41.3% 0.186 305.2);
Tailwind
colors: {
  custom: {
    50: '#9663b8',
    500: '#641d99',
    950: '#000000',
  },
}
SCSS
$custom: #641d99;
$custom-light: #9663b8;
$custom-dark: #000000;
JSON
{
  "hex": "#641d99",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 274.355,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41293,
    "c": 0.18591,
    "h": 305.2
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#641D99
secondary
#81C151
accent
#EB3D87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641D99

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

Preview Lab → · Contrast checker → · Palette generator →

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