#641A9A#641A9A

#641A9A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.190 H 305.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#641A9A
RGBrgb(100, 26, 154)
HSLhsl(275, 71%, 35%)
HSVhsv(275, 83%, 60%)
CMYKcmyk(35.1%, 83.1%, 0%, 39.6%)
CIE-LABlab(28.85, 53.65, -54.35)
CIE-LCHlch(28.85, 76.37, 314.63°)
OKLaboklab(41.13% 0.1093 -0.1549)
OKLCHoklch(41.13% 0.19 305.2)
XYZxyz(11.4563, 5.7813, 31.0779)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A9A #509A1A
analogous
#241A9A #641A9A #9A1A90
triadic
#641A9A #9A641A #1A9A64
tetradic
#641A9A #9A241A #509A1A #1A909A
square
#641A9A #9A241A #509A1A #1A909A
split-complementary
#641A9A #909A1A #1A9A24
monochromatic
#200831 #421166 #641A9A #8623CE #A34DE1

Accessibility & contrast

On white

9.74
#641A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641A9A
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A9A#FFFFFF#000000##FFFFFF
##641A9A1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#5A3D5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #641a9a;
/* rgb */ color: rgb(100, 26, 154);
/* oklch */ color: oklch(41.1% 0.190 305.2);
Tailwind
colors: {
  custom: {
    50: '#9661b9',
    500: '#641a9a',
    950: '#000000',
  },
}
SCSS
$custom: #641a9a;
$custom-light: #9661b9;
$custom-dark: #000000;
JSON
{
  "hex": "#641a9a",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 154
  },
  "hsl": {
    "h": 274.688,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41128,
    "c": 0.18959,
    "h": 305.2
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#641A9A
secondary
#7FC34D
accent
#EE3A86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #641A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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