#641F7B#641F7B

#641F7B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.154 H 316.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#641F7B
RGBrgb(100, 31, 123)
HSLhsl(285, 60%, 30%)
HSVhsv(285, 75%, 48%)
CMYKcmyk(18.7%, 74.8%, 0%, 51.8%)
CIE-LABlab(27.07, 44.91, -37.95)
CIE-LCHlch(27.07, 58.80, 319.80°)
OKLaboklab(39.12% 0.1115 -0.1068)
OKLCHoklch(39.12% 0.154 316.2)
XYZxyz(9.3201, 5.1197, 19.2323)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F7B #367B1F
analogous
#361F7B #641F7B #7B1F64
triadic
#641F7B #7B641F #1F7B64
tetradic
#641F7B #7B361F #367B1F #1F647B
square
#641F7B #7B361F #367B1F #1F647B
split-complementary
#641F7B #647B1F #1F7B36
monochromatic
#150619 #3C134A #641F7B #8C2BAC #AD44D0

Accessibility & contrast

On white

10.38
#641F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#641F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F7B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F7B#FFFFFF#000000##FFFFFF
##641F7B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641f7b;
/* rgb */ color: rgb(100, 31, 123);
/* oklch */ color: oklch(39.1% 0.154 316.2);
Tailwind
colors: {
  custom: {
    50: '#9362a2',
    500: '#641f7b',
    950: '#000000',
  },
}
SCSS
$custom: #641f7b;
$custom-light: #9362a2;
$custom-dark: #000000;
JSON
{
  "hex": "#641f7b",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 285,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39115,
    "c": 0.15437,
    "h": 316.2
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#641F7B
secondary
#61AE48
accent
#E3456C
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #641F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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