#641171#641171

#641171 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.2% C 0.160 H 321.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#641171
RGBrgb(100, 17, 113)
HSLhsl(292, 74%, 25%)
HSVhsv(292, 85%, 44%)
CMYKcmyk(11.5%, 85%, 0%, 55.7%)
CIE-LABlab(24.65, 47.83, -35.47)
CIE-LCHlch(24.65, 59.54, 323.44°)
OKLaboklab(37.17% 0.1256 -0.0994)
OKLCHoklch(37.17% 0.16 321.6)
XYZxyz(8.4363, 4.3030, 16.0058)
Luminance0.0430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641171 #1E7111
analogous
#341171 #641171 #71114E
triadic
#641171 #716411 #117164
tetradic
#641171 #713411 #1E7111 #114E71
square
#641171 #713411 #1E7111 #114E71
split-complementary
#641171 #4E7111 #117134
monochromatic
#18041B #35093C #641171 #9319A6 #C221DB

Accessibility & contrast

On white

11.29
#641171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#641171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641171
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641171#FFFFFF#000000##FFFFFF
##6411711.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#1F3D6F
Tritanopia (blue-blind)
#652642
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #641171;
/* rgb */ color: rgb(100, 17, 113);
/* oklch */ color: oklch(37.2% 0.160 321.6);
Tailwind
colors: {
  custom: {
    50: '#945c9a',
    500: '#641171',
    950: '#000000',
  },
}
SCSS
$custom: #641171;
$custom-light: #945c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#641171",
  "rgb": {
    "r": 100,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 291.875,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37173,
    "c": 0.16022,
    "h": 321.6
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#641171
secondary
#45A836
accent
#F13750
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E040E
muted
#7E797E

Preview Lab

Preview with #641171

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

Preview Lab → · Contrast checker → · Palette generator →

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