#641A7C#641A7C

#641A7C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.161 H 316.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#641A7C
RGBrgb(100, 26, 124)
HSLhsl(285, 65%, 29%)
HSVhsv(285, 79%, 49%)
CMYKcmyk(19.4%, 79%, 0%, 51.4%)
CIE-LABlab(26.46, 47.08, -39.57)
CIE-LCHlch(26.46, 61.50, 319.95°)
OKLaboklab(38.7% 0.1163 -0.1115)
OKLCHoklch(38.7% 0.161 316.2)
XYZxyz(9.2624, 4.9037, 19.5235)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A7C #327C1A
analogous
#331A7C #641A7C #7C1A63
triadic
#641A7C #7C641A #1A7C64
tetradic
#641A7C #7C331A #327C1A #1A637C
square
#641A7C #7C331A #327C1A #1A637C
split-complementary
#641A7C #637C1A #1A7C33
monochromatic
#140519 #3B0F49 #641A7C #8D25AF #B03BD6

Accessibility & contrast

On white

10.60
#641A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#641A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A7C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A7C#FFFFFF#000000##FFFFFF
##641A7C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#19417A
Tritanopia (blue-blind)
#62304A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641a7c;
/* rgb */ color: rgb(100, 26, 124);
/* oklch */ color: oklch(38.7% 0.161 316.2);
Tailwind
colors: {
  custom: {
    50: '#9460a2',
    500: '#641a7c',
    950: '#000000',
  },
}
SCSS
$custom: #641a7c;
$custom-light: #9460a2;
$custom-dark: #000000;
JSON
{
  "hex": "#641a7c",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 285.306,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38702,
    "c": 0.16114,
    "h": 316.2
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#641A7C
secondary
#5DB042
accent
#E84069
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #641A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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