#641D8E#641D8E

#641D8E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.175 H 308.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#641D8E
RGBrgb(100, 29, 142)
HSLhsl(278, 66%, 34%)
HSVhsv(278, 80%, 56%)
CMYKcmyk(29.6%, 79.6%, 0%, 44.3%)
CIE-LABlab(28.22, 49.87, -47.99)
CIE-LCHlch(28.22, 69.21, 316.10°)
OKLaboklab(40.38% 0.1101 -0.1363)
OKLCHoklch(40.38% 0.175 308.9)
XYZxyz(10.5764, 5.5412, 26.0983)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D8E #478E1D
analogous
#2B1D8E #641D8E #8E1D7F
triadic
#641D8E #8E641D #1D8E64
tetradic
#641D8E #8E2B1D #478E1D #1D7F8E
square
#641D8E #8E2B1D #478E1D #1D7F8E
split-complementary
#641D8E #7F8E1D #1D8E2B
monochromatic
#1C0828 #40135B #641D8E #8827C1 #A54BDA

Accessibility & contrast

On white

9.96
#641D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#641D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D8E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D8E#FFFFFF#000000##FFFFFF
##641D8E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#5E3955
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641d8e;
/* rgb */ color: rgb(100, 29, 142);
/* oklch */ color: oklch(40.4% 0.175 308.9);
Tailwind
colors: {
  custom: {
    50: '#9562b0',
    500: '#641d8e',
    950: '#000000',
  },
}
SCSS
$custom: #641d8e;
$custom-light: #9562b0;
$custom-dark: #000000;
JSON
{
  "hex": "#641d8e",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 277.699,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.17517,
    "h": 308.9
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#641D8E
secondary
#75BD4A
accent
#E93F7E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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