#641872#641872

#641872 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.154 H 320.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#641872
RGBrgb(100, 24, 114)
HSLhsl(291, 65%, 27%)
HSVhsv(291, 79%, 45%)
CMYKcmyk(12.3%, 78.9%, 0%, 55.3%)
CIE-LABlab(25.50, 45.77, -34.75)
CIE-LCHlch(25.50, 57.47, 322.79°)
OKLaboklab(37.8% 0.1195 -0.0974)
OKLCHoklch(37.8% 0.154 320.8)
XYZxyz(8.6191, 4.5780, 16.3460)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641872 #267218
analogous
#371872 #641872 #721853
triadic
#641872 #726418 #187264
tetradic
#641872 #723718 #267218 #185372
square
#641872 #723718 #267218 #185372
split-complementary
#641872 #537218 #187237
monochromatic
#160519 #380D3F #641872 #9023A5 #BA31D4

Accessibility & contrast

On white

10.96
#641872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#641872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641872
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641872#FFFFFF#000000##FFFFFF
##6418721.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.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: #641872;
/* rgb */ color: rgb(100, 24, 114);
/* oklch */ color: oklch(37.8% 0.154 320.8);
Tailwind
colors: {
  custom: {
    50: '#935e9b',
    500: '#641872',
    950: '#000000',
  },
}
SCSS
$custom: #641872;
$custom-light: #935e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#641872",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 290.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37795,
    "c": 0.15415,
    "h": 320.8
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#641872
secondary
#4FA73E
accent
#E8405A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #641872

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

Preview Lab → · Contrast checker → · Palette generator →

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