#641B88#641B88

#641B88 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.171 H 311.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#641B88
RGBrgb(100, 27, 136)
HSLhsl(280, 67%, 32%)
HSVhsv(280, 80%, 53%)
CMYKcmyk(26.5%, 80.1%, 0%, 46.7%)
CIE-LABlab(27.49, 49.28, -45.44)
CIE-LCHlch(27.49, 67.04, 317.32°)
OKLaboklab(39.72% 0.1132 -0.1288)
OKLCHoklch(39.72% 0.171 311.3)
XYZxyz(10.0906, 5.2710, 23.7736)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B88 #3F881B
analogous
#2D1B88 #641B88 #881B76
triadic
#641B88 #88641B #1B8864
tetradic
#641B88 #882D1B #3F881B #1B7688
square
#641B88 #882D1B #3F881B #1B7688
split-complementary
#641B88 #76881B #1B882D
monochromatic
#190722 #3E1155 #641B88 #8A25BB #A844DA

Accessibility & contrast

On white

10.22
#641B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#641B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B88
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B88#FFFFFF#000000##FFFFFF
##641B881.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#5F3651
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #641b88;
/* rgb */ color: rgb(100, 27, 136);
/* oklch */ color: oklch(39.7% 0.171 311.3);
Tailwind
colors: {
  custom: {
    50: '#9461ab',
    500: '#641b88',
    950: '#000000',
  },
}
SCSS
$custom: #641b88;
$custom-light: #9461ab;
$custom-dark: #000000;
JSON
{
  "hex": "#641b88",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 280.183,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39717,
    "c": 0.17143,
    "h": 311.3
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#641B88
secondary
#6BBB44
accent
#EA3E77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641B88

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

Preview Lab → · Contrast checker → · Palette generator →

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