#641A9E#641A9E

#641A9E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.193 H 304.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#641A9E
RGBrgb(100, 26, 158)
HSLhsl(274, 72%, 36%)
HSVhsv(274, 84%, 62%)
CMYKcmyk(36.7%, 83.5%, 0%, 38%)
CIE-LABlab(29.20, 54.56, -56.22)
CIE-LCHlch(29.20, 78.34, 314.14°)
OKLaboklab(41.48% 0.108 -0.1604)
OKLCHoklch(41.48% 0.193 304)
XYZxyz(11.7950, 5.9168, 32.8618)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A9E #549E1A
analogous
#221A9E #641A9E #9E1A96
triadic
#641A9E #9E641A #1A9E64
tetradic
#641A9E #9E221A #549E1A #1A969E
square
#641A9E #9E221A #549E1A #1A969E
split-complementary
#641A9E #969E1A #1A9E22
monochromatic
#210935 #431169 #641A9E #8523D3 #A250E2

Accessibility & contrast

On white

9.62
#641A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#641A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A9E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A9E#FFFFFF#000000##FFFFFF
##641A9E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#583F5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641a9e;
/* rgb */ color: rgb(100, 26, 158);
/* oklch */ color: oklch(41.5% 0.193 304.0);
Tailwind
colors: {
  custom: {
    50: '#9662bc',
    500: '#641a9e',
    950: '#000000',
  },
}
SCSS
$custom: #641a9e;
$custom-light: #9662bc;
$custom-dark: #000000;
JSON
{
  "hex": "#641a9e",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 273.636,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.19341,
    "h": 304
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#641A9E
secondary
#83C54F
accent
#EE3989
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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