#641C88#641C88

#641C88 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.170 H 311.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#641C88
RGBrgb(100, 28, 136)
HSLhsl(280, 66%, 32%)
HSVhsv(280, 79%, 53%)
CMYKcmyk(26.5%, 79.4%, 0%, 46.7%)
CIE-LABlab(27.62, 48.91, -45.24)
CIE-LCHlch(27.62, 66.62, 317.24°)
OKLaboklab(39.81% 0.1123 -0.1282)
OKLCHoklch(39.81% 0.17 311.2)
XYZxyz(10.1139, 5.3177, 23.7814)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641C88 #40881C
analogous
#2E1C88 #641C88 #881C76
triadic
#641C88 #88641C #1C8864
tetradic
#641C88 #882E1C #40881C #1C7688
square
#641C88 #882E1C #40881C #1C7688
split-complementary
#641C88 #76881C #1C882E
monochromatic
#190722 #3F1255 #641C88 #8926BB #A846D9

Accessibility & contrast

On white

10.18
#641C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#641C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641C88
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641C88#FFFFFF#000000##FFFFFF
##641C881.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#024286
Tritanopia (blue-blind)
#5F3652
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #641c88;
/* rgb */ color: rgb(100, 28, 136);
/* oklch */ color: oklch(39.8% 0.170 311.2);
Tailwind
colors: {
  custom: {
    50: '#9461ab',
    500: '#641c88',
    950: '#000000',
  },
}
SCSS
$custom: #641c88;
$custom-light: #9461ab;
$custom-dark: #000000;
JSON
{
  "hex": "#641c88",
  "rgb": {
    "r": 100,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 280,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39807,
    "c": 0.1704,
    "h": 311.2
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#641C88
secondary
#6CBA45
accent
#E93F78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641C88

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

Preview Lab → · Contrast checker → · Palette generator →

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