#641F7D#641F7D

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

Color values

HEX#641F7D
RGBrgb(100, 31, 125)
HSLhsl(284, 60%, 31%)
HSVhsv(284, 75%, 49%)
CMYKcmyk(20%, 75.2%, 0%, 51%)
CIE-LABlab(27.21, 45.34, -38.99)
CIE-LCHlch(27.21, 59.80, 319.30°)
OKLaboklab(39.26% 0.1112 -0.1098)
OKLCHoklch(39.26% 0.156 315.4)
XYZxyz(9.4466, 5.1703, 19.8984)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F7D #387D1F
analogous
#351F7D #641F7D #7D1F67
triadic
#641F7D #7D641F #1F7D64
tetradic
#641F7D #7D351F #387D1F #1F677D
square
#641F7D #7D351F #387D1F #1F677D
split-complementary
#641F7D #677D1F #1F7D35
monochromatic
#16071B #3D134C #641F7D #8B2BAE #AC45D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##641F7D#FFFFFF#000000##FFFFFF
##641F7D1.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)
#003C80
Deuteranopia (green-blind)
#1C427B
Tritanopia (blue-blind)
#62334C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641f7d;
/* rgb */ color: rgb(100, 31, 125);
/* oklch */ color: oklch(39.3% 0.156 315.4);
Tailwind
colors: {
  custom: {
    50: '#9462a3',
    500: '#641f7d',
    950: '#000000',
  },
}
SCSS
$custom: #641f7d;
$custom-light: #9462a3;
$custom-dark: #000000;
JSON
{
  "hex": "#641f7d",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 284.043,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.15632,
    "h": 315.4
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#641F7D
secondary
#63B048
accent
#E3446F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #641F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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