#641F77#641F77

#641F77 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.150 H 318.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#641F77
RGBrgb(100, 31, 119)
HSLhsl(287, 59%, 29%)
HSVhsv(287, 74%, 47%)
CMYKcmyk(16%, 73.9%, 0%, 53.3%)
CIE-LABlab(26.80, 44.06, -35.86)
CIE-LCHlch(26.80, 56.81, 320.86°)
OKLaboklab(38.83% 0.1118 -0.1007)
OKLCHoklch(38.83% 0.15 318)
XYZxyz(9.0748, 5.0216, 17.9404)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F77 #32771F
analogous
#381F77 #641F77 #771F5E
triadic
#641F77 #77641F #1F7764
tetradic
#641F77 #77381F #32771F #1F5E77
square
#641F77 #77381F #32771F #1F5E77
split-complementary
#641F77 #5E771F #1F7738
monochromatic
#140618 #3B1246 #641F77 #8D2CA8 #B043CE

Accessibility & contrast

On white

10.48
#641F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#641F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F77
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F77#FFFFFF#000000##FFFFFF
##641F771.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#234175
Tritanopia (blue-blind)
#633049
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641f77;
/* rgb */ color: rgb(100, 31, 119);
/* oklch */ color: oklch(38.8% 0.150 318.0);
Tailwind
colors: {
  custom: {
    50: '#93629f',
    500: '#641f77',
    950: '#000000',
  },
}
SCSS
$custom: #641f77;
$custom-light: #93629f;
$custom-dark: #000000;
JSON
{
  "hex": "#641f77",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 287.045,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38829,
    "c": 0.15047,
    "h": 318
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#641F77
secondary
#5DAB47
accent
#E24668
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #641F77

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

Preview Lab → · Contrast checker → · Palette generator →

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