#641772#641772

#641772 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.155 H 320.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#641772
RGBrgb(100, 23, 114)
HSLhsl(291, 66%, 27%)
HSVhsv(291, 80%, 45%)
CMYKcmyk(12.3%, 79.8%, 0%, 55.3%)
CIE-LABlab(25.37, 46.12, -34.95)
CIE-LCHlch(25.37, 57.87, 322.85°)
OKLaboklab(37.71% 0.1205 -0.0979)
OKLCHoklch(37.71% 0.155 320.9)
XYZxyz(8.5988, 4.5375, 16.3392)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641772 #257217
analogous
#371772 #641772 #721753
triadic
#641772 #726417 #177264
tetradic
#641772 #723717 #257217 #175372
square
#641772 #723717 #257217 #175372
split-complementary
#641772 #537217 #177237
monochromatic
#160519 #370D3F #641772 #9121A5 #BB2ED5

Accessibility & contrast

On white

11.01
#641772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641772
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641772#FFFFFF#000000##FFFFFF
##6417721.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#223F70
Tritanopia (blue-blind)
#652A44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #641772;
/* rgb */ color: rgb(100, 23, 114);
/* oklch */ color: oklch(37.7% 0.155 320.9);
Tailwind
colors: {
  custom: {
    50: '#935e9b',
    500: '#641772',
    950: '#000000',
  },
}
SCSS
$custom: #641772;
$custom-light: #935e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#641772",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 290.769,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37708,
    "c": 0.15524,
    "h": 320.9
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#641772
secondary
#4EA83D
accent
#E93E59
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #641772

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

Preview Lab → · Contrast checker → · Palette generator →

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