#641E7F#641E7F

#641E7F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.159 H 314.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#641E7F
RGBrgb(100, 30, 127)
HSLhsl(283, 62%, 31%)
HSVhsv(283, 76%, 50%)
CMYKcmyk(21.3%, 76.4%, 0%, 50.2%)
CIE-LABlab(27.22, 46.17, -40.25)
CIE-LCHlch(27.22, 61.25, 318.92°)
OKLaboklab(39.31% 0.112 -0.1135)
OKLCHoklch(39.31% 0.159 314.6)
XYZxyz(9.5499, 5.1705, 20.5695)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E7F #397F1E
analogous
#331E7F #641E7F #7F1E69
triadic
#641E7F #7F641E #1E7F64
tetradic
#641E7F #7F331E #397F1E #1E697F
square
#641E7F #7F331E #397F1E #1E697F
split-complementary
#641E7F #697F1E #1E7F33
monochromatic
#16071C #3D124D #641E7F #8B2AB1 #AB44D3

Accessibility & contrast

On white

10.32
#641E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#641E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641E7F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E7F#FFFFFF#000000##FFFFFF
##641E7F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#62334D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641e7f;
/* rgb */ color: rgb(100, 30, 127);
/* oklch */ color: oklch(39.3% 0.159 314.6);
Tailwind
colors: {
  custom: {
    50: '#9462a5',
    500: '#641e7f',
    950: '#000000',
  },
}
SCSS
$custom: #641e7f;
$custom-light: #9462a5;
$custom-dark: #000000;
JSON
{
  "hex": "#641e7f",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 283.299,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.15946,
    "h": 314.6
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#641E7F
secondary
#65B247
accent
#E54370
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #641E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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