#641B81#641B81

#641B81 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.165 H 314.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#641B81
RGBrgb(100, 27, 129)
HSLhsl(283, 65%, 31%)
HSVhsv(283, 79%, 51%)
CMYKcmyk(22.5%, 79.1%, 0%, 49.4%)
CIE-LABlab(26.96, 47.77, -41.93)
CIE-LCHlch(26.96, 63.56, 318.73°)
OKLaboklab(39.17% 0.1146 -0.1184)
OKLCHoklch(39.17% 0.165 314)
XYZxyz(9.6092, 5.0785, 21.2387)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B81 #38811B
analogous
#311B81 #641B81 #811B6B
triadic
#641B81 #81641B #1B8164
tetradic
#641B81 #81311B #38811B #1B6B81
square
#641B81 #81311B #38811B #1B6B81
split-complementary
#641B81 #6B811B #1B8131
monochromatic
#16061C #3D104E #641B81 #8B26B4 #AC3FD7

Accessibility & contrast

On white

10.42
#641B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#641B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B81
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B81#FFFFFF#000000##FFFFFF
##641B811.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#12417F
Tritanopia (blue-blind)
#61334D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641b81;
/* rgb */ color: rgb(100, 27, 129);
/* oklch */ color: oklch(39.2% 0.165 314.0);
Tailwind
colors: {
  custom: {
    50: '#9460a6',
    500: '#641b81',
    950: '#000000',
  },
}
SCSS
$custom: #641b81;
$custom-light: #9460a6;
$custom-dark: #000000;
JSON
{
  "hex": "#641b81",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 282.941,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39171,
    "c": 0.16477,
    "h": 314
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#641B81
secondary
#63B543
accent
#E83F6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #641B81

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

Preview Lab → · Contrast checker → · Palette generator →

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