#641786#641786

#641786 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.173 H 312.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#641786
RGBrgb(100, 23, 134)
HSLhsl(282, 71%, 31%)
HSVhsv(282, 83%, 53%)
CMYKcmyk(25.4%, 82.8%, 0%, 47.5%)
CIE-LABlab(26.86, 50.23, -45.22)
CIE-LCHlch(26.86, 67.59, 318.00°)
OKLaboklab(39.22% 0.1169 -0.1281)
OKLCHoklch(39.22% 0.173 312.4)
XYZxyz(9.8642, 5.0436, 23.0035)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641786 #398617
analogous
#2D1786 #641786 #861770
triadic
#641786 #866417 #178664
tetradic
#641786 #862D17 #398617 #177086
square
#641786 #862D17 #398617 #177086
split-complementary
#641786 #708617 #17862D
monochromatic
#16051E #3D0E52 #641786 #8B20BA #AB3ADD

Accessibility & contrast

On white

10.46
#641786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#641786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641786
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641786#FFFFFF#000000##FFFFFF
##6417861.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#60334F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641786;
/* rgb */ color: rgb(100, 23, 134);
/* oklch */ color: oklch(39.2% 0.173 312.4);
Tailwind
colors: {
  custom: {
    50: '#955faa',
    500: '#641786',
    950: '#000000',
  },
}
SCSS
$custom: #641786;
$custom-light: #955faa;
$custom-dark: #000000;
JSON
{
  "hex": "#641786",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 281.622,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39223,
    "c": 0.17345,
    "h": 312.4
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#641786
secondary
#65BA3F
accent
#ED3A71
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #641786

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

Preview Lab → · Contrast checker → · Palette generator →

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