#641A8B#641A8B

#641A8B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.175 H 310.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#641A8B
RGBrgb(100, 26, 139)
HSLhsl(279, 68%, 32%)
HSVhsv(279, 81%, 55%)
CMYKcmyk(28.1%, 81.3%, 0%, 45.5%)
CIE-LABlab(27.61, 50.30, -47.13)
CIE-LCHlch(27.61, 68.93, 316.86°)
OKLaboklab(39.87% 0.1133 -0.1337)
OKLCHoklch(39.87% 0.175 310.3)
XYZxyz(10.2842, 5.3124, 24.9047)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A8B #418B1A
analogous
#2B1A8B #641A8B #8B1A7A
triadic
#641A8B #8B641A #1A8B64
tetradic
#641A8B #8B2B1A #418B1A #1A7A8B
square
#641A8B #8B2B1A #418B1A #1A7A8B
split-complementary
#641A8B #7A8B1A #1A8B2B
monochromatic
#1A0724 #3F1057 #641A8B #8924BF #A743DC

Accessibility & contrast

On white

10.18
#641A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#641A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A8B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A8B#FFFFFF#000000##FFFFFF
##641A8B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#5E3753
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #641a8b;
/* rgb */ color: rgb(100, 26, 139);
/* oklch */ color: oklch(39.9% 0.175 310.3);
Tailwind
colors: {
  custom: {
    50: '#9560ae',
    500: '#641a8b',
    950: '#000000',
  },
}
SCSS
$custom: #641a8b;
$custom-light: #9560ae;
$custom-dark: #000000;
JSON
{
  "hex": "#641a8b",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 279.292,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.17528,
    "h": 310.3
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#641A8B
secondary
#6EBD44
accent
#EB3C79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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