#641EA6#641EA6

#641EA6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.198 H 301.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#641EA6
RGBrgb(100, 30, 166)
HSLhsl(271, 69%, 38%)
HSVhsv(271, 82%, 65%)
CMYKcmyk(39.8%, 81.9%, 0%, 34.9%)
CIE-LABlab(30.38, 55.05, -59.15)
CIE-LCHlch(30.38, 80.80, 312.94°)
OKLaboklab(42.51% 0.1026 -0.1691)
OKLCHoklch(42.51% 0.198 301.3)
XYZxyz(12.6010, 6.3910, 36.6387)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641EA6 #60A61E
analogous
#201EA6 #641EA6 #A61EA4
triadic
#641EA6 #A6641E #1EA664
tetradic
#641EA6 #A6201E #60A61E #1EA4A6
square
#641EA6 #A6201E #60A61E #1EA4A6
split-complementary
#641EA6 #A4A61E #1EA620
monochromatic
#260B3E #451572 #641EA6 #8329D8 #A15DE2

Accessibility & contrast

On white

9.22
#641EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#641EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641EA6
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641EA6#FFFFFF#000000##FFFFFF
##641EA61.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#554463
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #641ea6;
/* rgb */ color: rgb(100, 30, 166);
/* oklch */ color: oklch(42.5% 0.198 301.3);
Tailwind
colors: {
  custom: {
    50: '#9764c1',
    500: '#641ea6',
    950: '#000000',
  },
}
SCSS
$custom: #641ea6;
$custom-light: #9764c1;
$custom-dark: #000000;
JSON
{
  "hex": "#641ea6",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 270.882,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42509,
    "c": 0.19778,
    "h": 301.3
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#641EA6
secondary
#8EC65A
accent
#EC3C91
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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