#641B8A#641B8A

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

Color values

HEX#641B8A
RGBrgb(100, 27, 138)
HSLhsl(279, 67%, 32%)
HSVhsv(279, 80%, 54%)
CMYKcmyk(27.5%, 80.4%, 0%, 45.9%)
CIE-LABlab(27.65, 49.72, -46.43)
CIE-LCHlch(27.65, 68.03, 316.96°)
OKLaboklab(39.88% 0.1127 -0.1317)
OKLCHoklch(39.88% 0.173 310.6)
XYZxyz(10.2340, 5.3284, 24.5292)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B8A #418A1B
analogous
#2C1B8A #641B8A #8A1B79
triadic
#641B8A #8A641B #1B8A64
tetradic
#641B8A #8A2C1B #418A1B #1B798A
square
#641B8A #8A2C1B #418A1B #1B798A
split-complementary
#641B8A #798A1B #1B8A2C
monochromatic
#1A0724 #3F1157 #641B8A #8925BD #A745DB

Accessibility & contrast

On white

10.17
#641B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641B8A
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B8A#FFFFFF#000000##FFFFFF
##641B8A1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641b8a;
/* rgb */ color: rgb(100, 27, 138);
/* oklch */ color: oklch(39.9% 0.173 310.6);
Tailwind
colors: {
  custom: {
    50: '#9561ad',
    500: '#641b8a',
    950: '#000000',
  },
}
SCSS
$custom: #641b8a;
$custom-light: #9561ad;
$custom-dark: #000000;
JSON
{
  "hex": "#641b8a",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 279.459,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.17334,
    "h": 310.6
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#641B8A
secondary
#6EBC45
accent
#EA3E79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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