#641887#641887

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

Color values

HEX#641887
RGBrgb(100, 24, 135)
HSLhsl(281, 70%, 31%)
HSVhsv(281, 82%, 53%)
CMYKcmyk(25.9%, 82.2%, 0%, 47.1%)
CIE-LABlab(27.05, 50.12, -45.54)
CIE-LCHlch(27.05, 67.71, 317.74°)
OKLaboklab(39.38% 0.1159 -0.129)
OKLCHoklch(39.38% 0.173 311.9)
XYZxyz(9.9545, 5.1121, 23.3793)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641887 #3B8718
analogous
#2C1887 #641887 #871872
triadic
#641887 #876418 #188764
tetradic
#641887 #872C18 #3B8718 #187287
square
#641887 #872C18 #3B8718 #187287
split-complementary
#641887 #728718 #18872C
monochromatic
#17061F #3E0F53 #641887 #8A21BB #AA3DDC

Accessibility & contrast

On white

10.38
#641887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641887
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641887#FFFFFF#000000##FFFFFF
##6418871.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#603450
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641887;
/* rgb */ color: rgb(100, 24, 135);
/* oklch */ color: oklch(39.4% 0.173 311.9);
Tailwind
colors: {
  custom: {
    50: '#955fab',
    500: '#641887',
    950: '#000000',
  },
}
SCSS
$custom: #641887;
$custom-light: #955fab;
$custom-dark: #000000;
JSON
{
  "hex": "#641887",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 281.081,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.17345,
    "h": 311.9
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#641887
secondary
#67BB40
accent
#ED3B73
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #641887

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

Preview Lab → · Contrast checker → · Palette generator →

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