#641B9E#641B9E

#641B9E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.193 H 303.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#641B9E
RGBrgb(100, 27, 158)
HSLhsl(273, 71%, 36%)
HSVhsv(273, 83%, 62%)
CMYKcmyk(36.7%, 82.9%, 0%, 38%)
CIE-LABlab(29.32, 54.23, -56.03)
CIE-LCHlch(29.32, 77.98, 314.06°)
OKLaboklab(41.56% 0.1073 -0.1599)
OKLCHoklch(41.56% 0.193 303.9)
XYZxyz(11.8176, 5.9618, 32.8693)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B9E #559E1B
analogous
#231B9E #641B9E #9E1B97
triadic
#641B9E #9E641B #1B9E64
tetradic
#641B9E #9E231B #559E1B #1B979E
square
#641B9E #9E231B #559E1B #1B979E
split-complementary
#641B9E #979E1B #1B9E23
monochromatic
#220935 #43126A #641B9E #8524D2 #A252E1

Accessibility & contrast

On white

9.58
#641B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#641B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B9E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B9E#FFFFFF#000000##FFFFFF
##641B9E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#58405E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641b9e;
/* rgb */ color: rgb(100, 27, 158);
/* oklch */ color: oklch(41.6% 0.193 303.9);
Tailwind
colors: {
  custom: {
    50: '#9662bc',
    500: '#641b9e',
    950: '#000000',
  },
}
SCSS
$custom: #641b9e;
$custom-light: #9662bc;
$custom-dark: #000000;
JSON
{
  "hex": "#641b9e",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 273.435,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41556,
    "c": 0.19257,
    "h": 303.9
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#641B9E
secondary
#84C451
accent
#EE3A8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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