#641F95#641F95

#641F95 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.180 H 306.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#641F95
RGBrgb(100, 31, 149)
HSLhsl(275, 66%, 35%)
HSVhsv(275, 79%, 58%)
CMYKcmyk(32.9%, 79.2%, 0%, 41.6%)
CIE-LABlab(29.05, 50.70, -50.96)
CIE-LCHlch(29.05, 71.88, 314.86°)
OKLaboklab(41.14% 0.1067 -0.145)
OKLCHoklch(41.14% 0.18 306.3)
XYZxyz(11.1691, 5.8593, 28.9705)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F95 #50951F
analogous
#291F95 #641F95 #951F8B
triadic
#641F95 #95641F #1F9564
tetradic
#641F95 #95291F #50951F #1F8B95
square
#641F95 #95291F #50951F #1F8B95
split-complementary
#641F95 #8B951F #1F9529
monochromatic
#200A30 #421462 #641F95 #862AC8 #A353DB

Accessibility & contrast

On white

9.67
#641F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#641F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F95
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F95#FFFFFF#000000##FFFFFF
##641F951.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#5B3D5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #641f95;
/* rgb */ color: rgb(100, 31, 149);
/* oklch */ color: oklch(41.1% 0.180 306.3);
Tailwind
colors: {
  custom: {
    50: '#9563b5',
    500: '#641f95',
    950: '#000000',
  },
}
SCSS
$custom: #641f95;
$custom-light: #9563b5;
$custom-dark: #000000;
JSON
{
  "hex": "#641f95",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 275.085,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.18001,
    "h": 306.3
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#641F95
secondary
#7FBF51
accent
#E93F86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641F95

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

Preview Lab → · Contrast checker → · Palette generator →

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