#641B7D#641B7D

#641B7D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.161 H 315.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#641B7D
RGBrgb(100, 27, 125)
HSLhsl(285, 64%, 30%)
HSVhsv(285, 78%, 49%)
CMYKcmyk(20%, 78.4%, 0%, 51%)
CIE-LABlab(26.66, 46.92, -39.88)
CIE-LCHlch(26.66, 61.58, 319.63°)
OKLaboklab(38.87% 0.1152 -0.1124)
OKLCHoklch(38.87% 0.161 315.7)
XYZxyz(9.3485, 4.9742, 19.8657)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B7D #347D1B
analogous
#331B7D #641B7D #7D1B65
triadic
#641B7D #7D641B #1B7D64
tetradic
#641B7D #7D331B #347D1B #1B657D
square
#641B7D #7D331B #347D1B #1B657D
split-complementary
#641B7D #657D1B #1B7D33
monochromatic
#140519 #3C104B #641B7D #8C26AF #AE3DD5

Accessibility & contrast

On white

10.53
#641B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#641B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B7D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B7D#FFFFFF#000000##FFFFFF
##641B7D1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#19417B
Tritanopia (blue-blind)
#62314B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641b7d;
/* rgb */ color: rgb(100, 27, 125);
/* oklch */ color: oklch(38.9% 0.161 315.7);
Tailwind
colors: {
  custom: {
    50: '#9460a3',
    500: '#641b7d',
    950: '#000000',
  },
}
SCSS
$custom: #641b7d;
$custom-light: #9460a3;
$custom-dark: #000000;
JSON
{
  "hex": "#641b7d",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 284.694,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38868,
    "c": 0.16098,
    "h": 315.7
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#641B7D
secondary
#5FB143
accent
#E7406B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #641B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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