#641788#641788

#641788 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.175 H 311.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#641788
RGBrgb(100, 23, 136)
HSLhsl(281, 71%, 31%)
HSVhsv(281, 83%, 53%)
CMYKcmyk(26.5%, 83.1%, 0%, 46.7%)
CIE-LABlab(27.02, 50.66, -46.22)
CIE-LCHlch(27.02, 68.57, 317.63°)
OKLaboklab(39.38% 0.1165 -0.131)
OKLCHoklch(39.38% 0.175 311.6)
XYZxyz(10.0050, 5.1000, 23.7451)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641788 #3B8817
analogous
#2B1788 #641788 #881773
triadic
#641788 #886417 #178864
tetradic
#641788 #882B17 #3B8817 #177388
square
#641788 #882B17 #3B8817 #177388
split-complementary
#641788 #738817 #17882B
monochromatic
#17051F #3E0E54 #641788 #8A20BC #AA3BDE

Accessibility & contrast

On white

10.40
#641788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#641788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641788
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641788#FFFFFF#000000##FFFFFF
##6417881.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#5F3451
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641788;
/* rgb */ color: rgb(100, 23, 136);
/* oklch */ color: oklch(39.4% 0.175 311.6);
Tailwind
colors: {
  custom: {
    50: '#955fab',
    500: '#641788',
    950: '#000000',
  },
}
SCSS
$custom: #641788;
$custom-light: #955fab;
$custom-dark: #000000;
JSON
{
  "hex": "#641788",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 280.885,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39384,
    "c": 0.1753,
    "h": 311.6
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#641788
secondary
#67BC3F
accent
#EE3A73
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #641788

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

Preview Lab → · Contrast checker → · Palette generator →

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