#641A9B#641A9B

#641A9B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.191 H 304.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#641A9B
RGBrgb(100, 26, 155)
HSLhsl(274, 71%, 35%)
HSVhsv(274, 83%, 61%)
CMYKcmyk(35.5%, 83.2%, 0%, 39.2%)
CIE-LABlab(28.94, 53.88, -54.82)
CIE-LCHlch(28.94, 76.86, 314.50°)
OKLaboklab(41.22% 0.109 -0.1563)
OKLCHoklch(41.22% 0.191 304.9)
XYZxyz(11.5400, 5.8147, 31.5184)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A9B #519B1A
analogous
#241A9B #641A9B #9B1A91
triadic
#641A9B #9B641A #1A9B64
tetradic
#641A9B #9B241A #519B1A #1A919B
square
#641A9B #9B241A #519B1A #1A919B
split-complementary
#641A9B #919B1A #1A9B24
monochromatic
#200832 #421167 #641A9B #8623CF #A34EE1

Accessibility & contrast

On white

9.71
#641A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#641A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A9B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A9B#FFFFFF#000000##FFFFFF
##641A9B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#593E5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #641a9b;
/* rgb */ color: rgb(100, 26, 155);
/* oklch */ color: oklch(41.2% 0.191 304.9);
Tailwind
colors: {
  custom: {
    50: '#9661b9',
    500: '#641a9b',
    950: '#000000',
  },
}
SCSS
$custom: #641a9b;
$custom-light: #9661b9;
$custom-dark: #000000;
JSON
{
  "hex": "#641a9b",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 155
  },
  "hsl": {
    "h": 274.419,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41215,
    "c": 0.19054,
    "h": 304.9
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#641A9B
secondary
#80C44D
accent
#EE3A87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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