#641B7B#641B7B

#641B7B is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.159 H 316.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#641B7B
RGBrgb(100, 27, 123)
HSLhsl(286, 64%, 29%)
HSVhsv(286, 78%, 48%)
CMYKcmyk(18.7%, 78%, 0%, 51.8%)
CIE-LABlab(26.52, 46.50, -38.85)
CIE-LCHlch(26.52, 60.59, 320.12°)
OKLaboklab(38.72% 0.1155 -0.1094)
OKLCHoklch(38.72% 0.159 316.6)
XYZxyz(9.2221, 4.9236, 19.1996)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B7B #327B1B
analogous
#341B7B #641B7B #7B1B62
triadic
#641B7B #7B641B #1B7B64
tetradic
#641B7B #7B341B #327B1B #1B627B
square
#641B7B #7B341B #327B1B #1B627B
split-complementary
#641B7B #627B1B #1B7B34
monochromatic
#140619 #3B1049 #641B7B #8D26AD #B03CD4

Accessibility & contrast

On white

10.58
#641B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#641B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B7B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B7B#FFFFFF#000000##FFFFFF
##641B7B1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#1B4179
Tritanopia (blue-blind)
#63304A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641b7b;
/* rgb */ color: rgb(100, 27, 123);
/* oklch */ color: oklch(38.7% 0.159 316.6);
Tailwind
colors: {
  custom: {
    50: '#9460a2',
    500: '#641b7b',
    950: '#000000',
  },
}
SCSS
$custom: #641b7b;
$custom-light: #9460a2;
$custom-dark: #000000;
JSON
{
  "hex": "#641b7b",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 285.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.1591,
    "h": 316.6
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#641B7B
secondary
#5DAF43
accent
#E74169
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #641B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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