#641B8C#641B8C

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

Color values

HEX#641B8C
RGBrgb(100, 27, 140)
HSLhsl(279, 68%, 33%)
HSVhsv(279, 81%, 55%)
CMYKcmyk(28.6%, 80.7%, 0%, 45.1%)
CIE-LABlab(27.81, 50.16, -47.42)
CIE-LCHlch(27.81, 69.03, 316.61°)
OKLaboklab(40.04% 0.1123 -0.1346)
OKLCHoklch(40.04% 0.175 309.8)
XYZxyz(10.3801, 5.3869, 25.2988)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B8C #438C1B
analogous
#2B1B8C #641B8C #8C1B7B
triadic
#641B8C #8C641B #1B8C64
tetradic
#641B8C #8C2B1B #438C1B #1B7B8C
square
#641B8C #8C2B1B #438C1B #1B7B8C
split-complementary
#641B8C #7B8C1B #1B8C2B
monochromatic
#1B0725 #3F1159 #641B8C #8925BF #A646DB

Accessibility & contrast

On white

10.11
#641B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641B8C
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B8C#FFFFFF#000000##FFFFFF
##641B8C1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#5E3854
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641b8c;
/* rgb */ color: rgb(100, 27, 140);
/* oklch */ color: oklch(40.0% 0.175 309.8);
Tailwind
colors: {
  custom: {
    50: '#9561ae',
    500: '#641b8c',
    950: '#000000',
  },
}
SCSS
$custom: #641b8c;
$custom-light: #9561ae;
$custom-dark: #000000;
JSON
{
  "hex": "#641b8c",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 278.761,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40038,
    "c": 0.17526,
    "h": 309.8
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#641B8C
secondary
#70BD46
accent
#EB3D7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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