#641B7F#641B7F

#641B7F is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.163 H 314.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#641B7F
RGBrgb(100, 27, 127)
HSLhsl(284, 65%, 30%)
HSVhsv(284, 79%, 50%)
CMYKcmyk(21.3%, 78.7%, 0%, 50.2%)
CIE-LABlab(26.81, 47.34, -40.91)
CIE-LCHlch(26.81, 62.57, 319.17°)
OKLaboklab(39.02% 0.1149 -0.1154)
OKLCHoklch(39.02% 0.163 314.9)
XYZxyz(9.4776, 5.0258, 20.5454)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B7F #367F1B
analogous
#321B7F #641B7F #7F1B68
triadic
#641B7F #7F641B #1B7F64
tetradic
#641B7F #7F321B #367F1B #1B687F
square
#641B7F #7F321B #367F1B #1B687F
split-complementary
#641B7F #687F1B #1B7F32
monochromatic
#15061A #3C104D #641B7F #8C26B1 #AD3ED6

Accessibility & contrast

On white

10.47
#641B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#641B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B7F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B7F#FFFFFF#000000##FFFFFF
##641B7F1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#62324C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641b7f;
/* rgb */ color: rgb(100, 27, 127);
/* oklch */ color: oklch(39.0% 0.163 314.9);
Tailwind
colors: {
  custom: {
    50: '#9460a5',
    500: '#641b7f',
    950: '#000000',
  },
}
SCSS
$custom: #641b7f;
$custom-light: #9460a5;
$custom-dark: #000000;
JSON
{
  "hex": "#641b7f",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 283.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.16288,
    "h": 314.9
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#641B7F
secondary
#61B343
accent
#E8406D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #641B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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