#641A8D#641A8D

#641A8D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.177 H 309.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#641A8D
RGBrgb(100, 26, 141)
HSLhsl(279, 69%, 33%)
HSVhsv(279, 82%, 55%)
CMYKcmyk(29.1%, 81.6%, 0%, 44.7%)
CIE-LABlab(27.77, 50.74, -48.11)
CIE-LCHlch(27.77, 69.92, 316.52°)
OKLaboklab(40.03% 0.1129 -0.1366)
OKLCHoklch(40.03% 0.177 309.6)
XYZxyz(10.4317, 5.3714, 25.6814)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A8D #438D1A
analogous
#2B1A8D #641A8D #8D1A7C
triadic
#641A8D #8D641A #1A8D64
tetradic
#641A8D #8D2B1A #438D1A #1A7C8D
square
#641A8D #8D2B1A #438D1A #1A7C8D
split-complementary
#641A8D #7C8D1A #1A8D2B
monochromatic
#1B0726 #3F1059 #641A8D #8924C1 #A645DD

Accessibility & contrast

On white

10.12
#641A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#641A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A8D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A8D#FFFFFF#000000##FFFFFF
##641A8D1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#5E3854
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641a8d;
/* rgb */ color: rgb(100, 26, 141);
/* oklch */ color: oklch(40.0% 0.177 309.6);
Tailwind
colors: {
  custom: {
    50: '#9561af',
    500: '#641a8d',
    950: '#000000',
  },
}
SCSS
$custom: #641a8d;
$custom-light: #9561af;
$custom-dark: #000000;
JSON
{
  "hex": "#641a8d",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 278.609,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40034,
    "c": 0.17719,
    "h": 309.6
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#641A8D
secondary
#70BE45
accent
#EC3C7B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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