#641B7A#641B7A

#641B7A is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.158 H 317.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#641B7A
RGBrgb(100, 27, 122)
HSLhsl(286, 64%, 29%)
HSVhsv(286, 78%, 48%)
CMYKcmyk(18%, 77.9%, 0%, 52.2%)
CIE-LABlab(26.44, 46.29, -38.33)
CIE-LCHlch(26.44, 60.10, 320.37°)
OKLaboklab(38.65% 0.1157 -0.1079)
OKLCHoklch(38.65% 0.158 317)
XYZxyz(9.1598, 4.8987, 18.8716)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B7A #317A1B
analogous
#351B7A #641B7A #7A1B61
triadic
#641B7A #7A641B #1B7A64
tetradic
#641B7A #7A351B #317A1B #1B617A
square
#641B7A #7A351B #317A1B #1B617A
split-complementary
#641B7A #617A1B #1B7A35
monochromatic
#150619 #3B1048 #641B7A #8D26AC #B13CD4

Accessibility & contrast

On white

10.61
#641B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641B7A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B7A#FFFFFF#000000##FFFFFF
##641B7A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#1C4178
Tritanopia (blue-blind)
#632F49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641b7a;
/* rgb */ color: rgb(100, 27, 122);
/* oklch */ color: oklch(38.6% 0.158 317.0);
Tailwind
colors: {
  custom: {
    50: '#9460a1',
    500: '#641b7a',
    950: '#000000',
  },
}
SCSS
$custom: #641b7a;
$custom-light: #9460a1;
$custom-dark: #000000;
JSON
{
  "hex": "#641b7a",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 286.105,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38646,
    "c": 0.15816,
    "h": 317
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#641B7A
secondary
#5CAE43
accent
#E74167
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #641B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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