#641A8E#641A8E

#641A8E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.178 H 309.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#641A8E
RGBrgb(100, 26, 142)
HSLhsl(278, 69%, 33%)
HSVhsv(278, 82%, 56%)
CMYKcmyk(29.6%, 81.7%, 0%, 44.3%)
CIE-LABlab(27.85, 50.96, -48.60)
CIE-LCHlch(27.85, 70.42, 316.36°)
OKLaboklab(40.12% 0.1126 -0.138)
OKLCHoklch(40.12% 0.178 309.2)
XYZxyz(10.5064, 5.4013, 26.0750)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A8E #448E1A
analogous
#2A1A8E #641A8E #8E1A7E
triadic
#641A8E #8E641A #1A8E64
tetradic
#641A8E #8E2A1A #448E1A #1A7E8E
square
#641A8E #8E2A1A #448E1A #1A7E8E
split-complementary
#641A8E #7E8E1A #1A8E2A
monochromatic
#1B0727 #40115A #641A8E #8823C2 #A645DD

Accessibility & contrast

On white

10.10
#641A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#641A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A8E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A8E#FFFFFF#000000##FFFFFF
##641A8E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#5E3855
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641a8e;
/* rgb */ color: rgb(100, 26, 142);
/* oklch */ color: oklch(40.1% 0.178 309.2);
Tailwind
colors: {
  custom: {
    50: '#9561b0',
    500: '#641a8e',
    950: '#000000',
  },
}
SCSS
$custom: #641a8e;
$custom-light: #9561b0;
$custom-dark: #000000;
JSON
{
  "hex": "#641a8e",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 278.276,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40116,
    "c": 0.17813,
    "h": 309.2
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#641A8E
secondary
#71BE45
accent
#EC3C7C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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