#641BA1#641BA1

#641BA1 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.195 H 303.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#641BA1
RGBrgb(100, 27, 161)
HSLhsl(273, 71%, 37%)
HSVhsv(273, 83%, 63%)
CMYKcmyk(37.9%, 83.2%, 0%, 36.9%)
CIE-LABlab(29.58, 54.92, -57.43)
CIE-LCHlch(29.58, 79.46, 313.72°)
OKLaboklab(41.82% 0.1064 -0.164)
OKLCHoklch(41.82% 0.195 303)
XYZxyz(12.0790, 6.0664, 34.2459)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641BA1 #58A11B
analogous
#211BA1 #641BA1 #A11B9B
triadic
#641BA1 #A1641B #1BA164
tetradic
#641BA1 #A1211B #58A11B #1B9BA1
square
#641BA1 #A1211B #58A11B #1B9BA1
split-complementary
#641BA1 #9BA11B #1BA121
monochromatic
#230938 #43126D #641BA1 #8524D5 #A254E2

Accessibility & contrast

On white

9.49
#641BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#641BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641BA1
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641BA1#FFFFFF#000000##FFFFFF
##641BA11.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#574160
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #641ba1;
/* rgb */ color: rgb(100, 27, 161);
/* oklch */ color: oklch(41.8% 0.195 303.0);
Tailwind
colors: {
  custom: {
    50: '#9762be',
    500: '#641ba1',
    950: '#000000',
  },
}
SCSS
$custom: #641ba1;
$custom-light: #9762be;
$custom-dark: #000000;
JSON
{
  "hex": "#641ba1",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 272.687,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.19547,
    "h": 303
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#641BA1
secondary
#87C552
accent
#EE3A8C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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