#641871#641871

#641871 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.7% C 0.153 H 321.3°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#641871
RGBrgb(100, 24, 113)
HSLhsl(291, 65%, 27%)
HSVhsv(291, 79%, 44%)
CMYKcmyk(11.5%, 78.8%, 0%, 55.7%)
CIE-LABlab(25.43, 45.57, -34.22)
CIE-LCHlch(25.43, 56.99, 323.10°)
OKLaboklab(37.72% 0.1196 -0.0958)
OKLCHoklch(37.72% 0.153 321.3)
XYZxyz(8.5625, 4.5553, 16.0478)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641871 #257118
analogous
#381871 #641871 #711852
triadic
#641871 #716418 #187164
tetradic
#641871 #713818 #257118 #185271
square
#641871 #713818 #257118 #185271
split-complementary
#641871 #527118 #187138
monochromatic
#160519 #370D3F #641871 #9123A3 #BB30D3

Accessibility & contrast

On white

10.99
#641871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#641871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641871
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641871#FFFFFF#000000##FFFFFF
##6418711.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#233F6F
Tritanopia (blue-blind)
#652A44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #641871;
/* rgb */ color: rgb(100, 24, 113);
/* oklch */ color: oklch(37.7% 0.153 321.3);
Tailwind
colors: {
  custom: {
    50: '#935e9a',
    500: '#641871',
    950: '#000000',
  },
}
SCSS
$custom: #641871;
$custom-light: #935e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#641871",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 291.236,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37725,
    "c": 0.15326,
    "h": 321.3
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#641871
secondary
#4EA63E
accent
#E84058
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #641871

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

Preview Lab → · Contrast checker → · Palette generator →

#641871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva