#641271#641271

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

Color values

HEX#641271
RGBrgb(100, 18, 113)
HSLhsl(292, 73%, 26%)
HSVhsv(292, 84%, 44%)
CMYKcmyk(11.5%, 84.1%, 0%, 55.7%)
CIE-LABlab(24.75, 47.54, -35.31)
CIE-LCHlch(24.75, 59.21, 323.40°)
OKLaboklab(37.24% 0.1249 -0.099)
OKLCHoklch(37.24% 0.159 321.6)
XYZxyz(8.4521, 4.3347, 16.0111)
Luminance0.0433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641271 #1F7112
analogous
#341271 #641271 #71124E
triadic
#641271 #716412 #127164
tetradic
#641271 #713412 #1F7112 #124E71
square
#641271 #713412 #1F7112 #124E71
split-complementary
#641271 #4E7112 #127134
monochromatic
#17041A #350A3C #641271 #931AA6 #C123DB

Accessibility & contrast

On white

11.25
#641271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#641271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641271
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641271#FFFFFF#000000##FFFFFF
##6412711.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#203E6F
Tritanopia (blue-blind)
#652742
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #641271;
/* rgb */ color: rgb(100, 18, 113);
/* oklch */ color: oklch(37.2% 0.159 321.6);
Tailwind
colors: {
  custom: {
    50: '#945c9a',
    500: '#641271',
    950: '#000000',
  },
}
SCSS
$custom: #641271;
$custom-light: #945c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#641271",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 291.789,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37243,
    "c": 0.15933,
    "h": 321.6
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#641271
secondary
#46A837
accent
#EF3952
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #641271

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

Preview Lab → · Contrast checker → · Palette generator →

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