#641B8D#641B8D

#641B8D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.176 H 309.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#641B8D
RGBrgb(100, 27, 141)
HSLhsl(278, 68%, 33%)
HSVhsv(278, 81%, 55%)
CMYKcmyk(29.1%, 80.9%, 0%, 44.7%)
CIE-LABlab(27.89, 50.38, -47.91)
CIE-LCHlch(27.89, 69.53, 316.44°)
OKLaboklab(40.12% 0.112 -0.136)
OKLCHoklch(40.12% 0.176 309.5)
XYZxyz(10.4542, 5.4165, 25.6889)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B8D #448D1B
analogous
#2B1B8D #641B8D #8D1B7D
triadic
#641B8D #8D641B #1B8D64
tetradic
#641B8D #8D2B1B #448D1B #1B7D8D
square
#641B8D #8D2B1B #448D1B #1B7D8D
split-complementary
#641B8D #7D8D1B #1B8D2B
monochromatic
#1B0726 #40115A #641B8D #8825C0 #A647DC

Accessibility & contrast

On white

10.08
#641B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#641B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B8D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B8D#FFFFFF#000000##FFFFFF
##641B8D1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#5E3854
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641b8d;
/* rgb */ color: rgb(100, 27, 141);
/* oklch */ color: oklch(40.1% 0.176 309.5);
Tailwind
colors: {
  custom: {
    50: '#9561af',
    500: '#641b8d',
    950: '#000000',
  },
}
SCSS
$custom: #641b8d;
$custom-light: #9561af;
$custom-dark: #000000;
JSON
{
  "hex": "#641b8d",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 278.421,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40119,
    "c": 0.17622,
    "h": 309.5
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#641B8D
secondary
#71BD46
accent
#EB3D7C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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