#641B8E#641B8E

#641B8E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.177 H 309.1°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#641B8E
RGBrgb(100, 27, 142)
HSLhsl(278, 68%, 33%)
HSVhsv(278, 81%, 56%)
CMYKcmyk(29.6%, 81%, 0%, 44.3%)
CIE-LABlab(27.97, 50.60, -48.40)
CIE-LCHlch(27.97, 70.02, 316.28°)
OKLaboklab(40.2% 0.1118 -0.1375)
OKLCHoklch(40.2% 0.177 309.1)
XYZxyz(10.5289, 5.4464, 26.0825)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B8E #458E1B
analogous
#2A1B8E #641B8E #8E1B7E
triadic
#641B8E #8E641B #1B8E64
tetradic
#641B8E #8E2A1B #458E1B #1B7E8E
square
#641B8E #8E2A1B #458E1B #1B7E8E
split-complementary
#641B8E #7E8E1B #1B8E2A
monochromatic
#1C0727 #40115B #641B8E #8825C1 #A647DC

Accessibility & contrast

On white

10.05
#641B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#641B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B8E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B8E#FFFFFF#000000##FFFFFF
##641B8E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.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: #641b8e;
/* rgb */ color: rgb(100, 27, 142);
/* oklch */ color: oklch(40.2% 0.177 309.1);
Tailwind
colors: {
  custom: {
    50: '#9561b0',
    500: '#641b8e',
    950: '#000000',
  },
}
SCSS
$custom: #641b8e;
$custom-light: #9561b0;
$custom-dark: #000000;
JSON
{
  "hex": "#641b8e",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 278.087,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40201,
    "c": 0.17718,
    "h": 309.1
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#641B8E
secondary
#72BE47
accent
#EB3D7C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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