#641B7C#641B7C

#641B7C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.160 H 316.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#641B7C
RGBrgb(100, 27, 124)
HSLhsl(285, 64%, 30%)
HSVhsv(285, 78%, 49%)
CMYKcmyk(19.4%, 78.2%, 0%, 51.4%)
CIE-LABlab(26.59, 46.71, -39.37)
CIE-LCHlch(26.59, 61.08, 319.88°)
OKLaboklab(38.79% 0.1154 -0.1109)
OKLCHoklch(38.79% 0.16 316.1)
XYZxyz(9.2850, 4.9488, 19.5310)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B7C #337C1B
analogous
#341B7C #641B7C #7C1B63
triadic
#641B7C #7C641B #1B7C64
tetradic
#641B7C #7C341B #337C1B #1B637C
square
#641B7C #7C341B #337C1B #1B637C
split-complementary
#641B7C #637C1B #1B7C34
monochromatic
#140519 #3B104A #641B7C #8D26AE #AF3DD5

Accessibility & contrast

On white

10.55
#641B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641B7C
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B7C#FFFFFF#000000##FFFFFF
##641B7C1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#1A417A
Tritanopia (blue-blind)
#62304B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641b7c;
/* rgb */ color: rgb(100, 27, 124);
/* oklch */ color: oklch(38.8% 0.160 316.1);
Tailwind
colors: {
  custom: {
    50: '#9460a2',
    500: '#641b7c',
    950: '#000000',
  },
}
SCSS
$custom: #641b7c;
$custom-light: #9460a2;
$custom-dark: #000000;
JSON
{
  "hex": "#641b7c",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 285.155,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38794,
    "c": 0.16005,
    "h": 316.1
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#641B7C
secondary
#5EB043
accent
#E7416A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #641B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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