#641F79#641F79

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

Color values

HEX#641F79
RGBrgb(100, 31, 121)
HSLhsl(286, 59%, 30%)
HSVhsv(286, 74%, 47%)
CMYKcmyk(17.4%, 74.4%, 0%, 52.5%)
CIE-LABlab(26.93, 44.48, -36.91)
CIE-LCHlch(26.93, 57.80, 320.32°)
OKLaboklab(38.97% 0.1117 -0.1037)
OKLCHoklch(38.97% 0.152 317.1)
XYZxyz(9.1962, 5.0702, 18.5797)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F79 #34791F
analogous
#371F79 #641F79 #791F61
triadic
#641F79 #79641F #1F7964
tetradic
#641F79 #79371F #34791F #1F6179
square
#641F79 #79371F #34791F #1F6179
split-complementary
#641F79 #61791F #1F7937
monochromatic
#140618 #3C1348 #641F79 #8C2BAA #AE43CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##641F79#FFFFFF#000000##FFFFFF
##641F791.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)
#003B7C
Deuteranopia (green-blind)
#214277
Tritanopia (blue-blind)
#63314A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641f79;
/* rgb */ color: rgb(100, 31, 121);
/* oklch */ color: oklch(39.0% 0.152 317.1);
Tailwind
colors: {
  custom: {
    50: '#9362a0',
    500: '#641f79',
    950: '#000000',
  },
}
SCSS
$custom: #641f79;
$custom-light: #9362a0;
$custom-dark: #000000;
JSON
{
  "hex": "#641f79",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 286,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38971,
    "c": 0.15242,
    "h": 317.1
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#641F79
secondary
#5FAC47
accent
#E2456A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050F
muted
#7E7A7E

Preview Lab

Preview with #641F79

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

Preview Lab → · Contrast checker → · Palette generator →

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