#641A86#641A86

#641A86 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.171 H 312.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#641A86
RGBrgb(100, 26, 134)
HSLhsl(281, 68%, 31%)
HSVhsv(281, 81%, 53%)
CMYKcmyk(25.4%, 80.6%, 0%, 47.5%)
CIE-LABlab(27.21, 49.21, -44.65)
CIE-LCHlch(27.21, 66.44, 317.78°)
OKLaboklab(39.47% 0.1145 -0.1264)
OKLCHoklch(39.47% 0.171 312.2)
XYZxyz(9.9272, 5.1696, 23.0245)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A86 #3C861A
analogous
#2E1A86 #641A86 #861A72
triadic
#641A86 #86641A #1A8664
tetradic
#641A86 #862E1A #3C861A #1A7286
square
#641A86 #862E1A #3C861A #1A7286
split-complementary
#641A86 #72861A #1A862E
monochromatic
#18061F #3E1053 #641A86 #8A24B9 #AA40DA

Accessibility & contrast

On white

10.33
#641A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#641A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A86
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A86#FFFFFF#000000##FFFFFF
##641A861.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641a86;
/* rgb */ color: rgb(100, 26, 134);
/* oklch */ color: oklch(39.5% 0.171 312.2);
Tailwind
colors: {
  custom: {
    50: '#9460aa',
    500: '#641a86',
    950: '#000000',
  },
}
SCSS
$custom: #641a86;
$custom-light: #9460aa;
$custom-dark: #000000;
JSON
{
  "hex": "#641a86",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 281.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.17055,
    "h": 312.2
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#641A86
secondary
#68B942
accent
#EA3D74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641A86

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

Preview Lab → · Contrast checker → · Palette generator →

#641A86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva