#641E7B#641E7B

#641E7B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.156 H 316.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#641E7B
RGBrgb(100, 30, 123)
HSLhsl(285, 61%, 30%)
HSVhsv(285, 76%, 48%)
CMYKcmyk(18.7%, 75.6%, 0%, 51.8%)
CIE-LABlab(26.93, 45.32, -38.18)
CIE-LCHlch(26.93, 59.26, 319.88°)
OKLaboklab(39.01% 0.1125 -0.1075)
OKLCHoklch(39.01% 0.156 316.3)
XYZxyz(9.2944, 5.0683, 19.2237)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E7B #357B1E
analogous
#351E7B #641E7B #7B1E64
triadic
#641E7B #7B641E #1E7B64
tetradic
#641E7B #7B351E #357B1E #1E647B
square
#641E7B #7B351E #357B1E #1E647B
split-complementary
#641E7B #647B1E #1E7B35
monochromatic
#140619 #3C124A #641E7B #8C2AAC #AE42D1

Accessibility & contrast

On white

10.43
#641E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641E7B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E7B#FFFFFF#000000##FFFFFF
##641E7B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#1E4279
Tritanopia (blue-blind)
#63324B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641e7b;
/* rgb */ color: rgb(100, 30, 123);
/* oklch */ color: oklch(39.0% 0.156 316.3);
Tailwind
colors: {
  custom: {
    50: '#9461a2',
    500: '#641e7b',
    950: '#000000',
  },
}
SCSS
$custom: #641e7b;
$custom-light: #9461a2;
$custom-dark: #000000;
JSON
{
  "hex": "#641e7b",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 285.161,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39012,
    "c": 0.15559,
    "h": 316.3
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#641E7B
secondary
#60AE46
accent
#E4446B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #641E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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