#641F71#641F71

#641F71 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.4% C 0.145 H 320.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#641F71
RGBrgb(100, 31, 113)
HSLhsl(290, 57%, 28%)
HSVhsv(290, 73%, 44%)
CMYKcmyk(11.5%, 72.6%, 0%, 55.7%)
CIE-LABlab(26.40, 42.82, -32.67)
CIE-LCHlch(26.40, 53.86, 322.66°)
OKLaboklab(38.42% 0.1122 -0.0913)
OKLCHoklch(38.42% 0.145 320.9)
XYZxyz(8.7258, 4.8820, 16.1023)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F71 #2C711F
analogous
#3B1F71 #641F71 #711F55
triadic
#641F71 #71641F #1F7164
tetradic
#641F71 #713B1F #2C711F #1F5571
square
#641F71 #713B1F #2C711F #1F5571
split-complementary
#641F71 #55711F #1F713B
monochromatic
#150718 #391241 #641F71 #8E2CA1 #B540CB

Accessibility & contrast

On white

10.63
#641F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#641F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F71
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F71#FFFFFF#000000##FFFFFF
##641F711.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A73
Deuteranopia (green-blind)
#28416F
Tritanopia (blue-blind)
#652E45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #641f71;
/* rgb */ color: rgb(100, 31, 113);
/* oklch */ color: oklch(38.4% 0.145 320.9);
Tailwind
colors: {
  custom: {
    50: '#93619a',
    500: '#641f71',
    950: '#000000',
  },
}
SCSS
$custom: #641f71;
$custom-light: #93619a;
$custom-dark: #000000;
JSON
{
  "hex": "#641f71",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 290.488,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38415,
    "c": 0.14471,
    "h": 320.9
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#641F71
secondary
#56A547
accent
#E04860
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #641F71

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

Preview Lab → · Contrast checker → · Palette generator →

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