#641A8A#641A8A

#641A8A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.174 H 310.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#641A8A
RGBrgb(100, 26, 138)
HSLhsl(280, 68%, 32%)
HSVhsv(280, 81%, 54%)
CMYKcmyk(27.5%, 81.2%, 0%, 45.9%)
CIE-LABlab(27.53, 50.08, -46.64)
CIE-LCHlch(27.53, 68.43, 317.04°)
OKLaboklab(39.79% 0.1136 -0.1323)
OKLCHoklch(39.79% 0.174 310.7)
XYZxyz(10.2115, 5.2833, 24.5217)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A8A #408A1A
analogous
#2C1A8A #641A8A #8A1A78
triadic
#641A8A #8A641A #1A8A64
tetradic
#641A8A #8A2C1A #408A1A #1A788A
square
#641A8A #8A2C1A #408A1A #1A788A
split-complementary
#641A8A #788A1A #1A8A2C
monochromatic
#190723 #3F1057 #641A8A #8924BD #A843DC

Accessibility & contrast

On white

10.21
#641A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641A8A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A8A#FFFFFF#000000##FFFFFF
##641A8A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#5F3652
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #641a8a;
/* rgb */ color: rgb(100, 26, 138);
/* oklch */ color: oklch(39.8% 0.174 310.7);
Tailwind
colors: {
  custom: {
    50: '#9560ad',
    500: '#641a8a',
    950: '#000000',
  },
}
SCSS
$custom: #641a8a;
$custom-light: #9560ad;
$custom-dark: #000000;
JSON
{
  "hex": "#641a8a",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 279.643,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3979,
    "c": 0.17434,
    "h": 310.7
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#641A8A
secondary
#6CBD43
accent
#EB3D78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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