#641A8C#641A8C

#641A8C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.176 H 309.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#641A8C
RGBrgb(100, 26, 140)
HSLhsl(279, 69%, 33%)
HSVhsv(279, 81%, 55%)
CMYKcmyk(28.6%, 81.4%, 0%, 45.1%)
CIE-LABlab(27.69, 50.52, -47.62)
CIE-LCHlch(27.69, 69.42, 316.69°)
OKLaboklab(39.95% 0.1131 -0.1352)
OKLCHoklch(39.95% 0.176 309.9)
XYZxyz(10.3576, 5.3418, 25.2913)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A8C #428C1A
analogous
#2B1A8C #641A8C #8C1A7B
triadic
#641A8C #8C641A #1A8C64
tetradic
#641A8C #8C2B1A #428C1A #1A7B8C
square
#641A8C #8C2B1A #428C1A #1A7B8C
split-complementary
#641A8C #7B8C1A #1A8C2B
monochromatic
#1A0725 #3F1058 #641A8C #8924C0 #A744DC

Accessibility & contrast

On white

10.15
#641A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641A8C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A8C#FFFFFF#000000##FFFFFF
##641A8C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#5E3753
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #641a8c;
/* rgb */ color: rgb(100, 26, 140);
/* oklch */ color: oklch(40.0% 0.176 309.9);
Tailwind
colors: {
  custom: {
    50: '#9561ae',
    500: '#641a8c',
    950: '#000000',
  },
}
SCSS
$custom: #641a8c;
$custom-light: #9561ae;
$custom-dark: #000000;
JSON
{
  "hex": "#641a8c",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 140
  },
  "hsl": {
    "h": 278.947,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.17624,
    "h": 309.9
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#641A8C
secondary
#6FBE44
accent
#EC3C7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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