#641D8B#641D8B

#641D8B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.172 H 310.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#641D8B
RGBrgb(100, 29, 139)
HSLhsl(279, 65%, 33%)
HSVhsv(279, 79%, 55%)
CMYKcmyk(28.1%, 79.1%, 0%, 45.5%)
CIE-LABlab(27.99, 49.20, -46.51)
CIE-LCHlch(27.99, 67.70, 316.61°)
OKLaboklab(40.14% 0.1108 -0.1319)
OKLCHoklch(40.14% 0.172 310)
XYZxyz(10.3542, 5.4524, 24.9281)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D8B #448B1D
analogous
#2D1D8B #641D8B #8B1D7B
triadic
#641D8B #8B641D #1D8B64
tetradic
#641D8B #8B2D1D #448B1D #1D7B8B
square
#641D8B #8B2D1D #448B1D #1D7B8B
split-complementary
#641D8B #7B8B1D #1D8B2D
monochromatic
#1B0826 #401258 #641D8B #8828BE #A649D9

Accessibility & contrast

On white

10.05
#641D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#641D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D8B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D8B#FFFFFF#000000##FFFFFF
##641D8B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#5E3853
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641d8b;
/* rgb */ color: rgb(100, 29, 139);
/* oklch */ color: oklch(40.1% 0.172 310.0);
Tailwind
colors: {
  custom: {
    50: '#9562ae',
    500: '#641d8b',
    950: '#000000',
  },
}
SCSS
$custom: #641d8b;
$custom-light: #9562ae;
$custom-dark: #000000;
JSON
{
  "hex": "#641d8b",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 278.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.17225,
    "h": 310
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#641D8B
secondary
#71BB49
accent
#E83F7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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