#641C8D#641C8D

#641C8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.175 H 309.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#641C8D
RGBrgb(100, 28, 141)
HSLhsl(278, 67%, 33%)
HSVhsv(278, 80%, 55%)
CMYKcmyk(29.1%, 80.1%, 0%, 44.7%)
CIE-LABlab(28.02, 50.02, -47.71)
CIE-LCHlch(28.02, 69.12, 316.36°)
OKLaboklab(40.21% 0.1112 -0.1354)
OKLCHoklch(40.21% 0.175 309.4)
XYZxyz(10.4775, 5.4631, 25.6967)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641C8D #458D1C
analogous
#2B1C8D #641C8D #8D1C7D
triadic
#641C8D #8D641C #1C8D64
tetradic
#641C8D #8D2B1C #458D1C #1C7D8D
square
#641C8D #8D2B1C #458D1C #1C7D8D
split-complementary
#641C8D #7D8D1C #1C8D2B
monochromatic
#1C0827 #40125A #641C8D #8826C0 #A649DB

Accessibility & contrast

On white

10.04
#641C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641C8D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641C8D#FFFFFF#000000##FFFFFF
##641C8D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641c8d;
/* rgb */ color: rgb(100, 28, 141);
/* oklch */ color: oklch(40.2% 0.175 309.4);
Tailwind
colors: {
  custom: {
    50: '#9561af',
    500: '#641c8d',
    950: '#000000',
  },
}
SCSS
$custom: #641c8d;
$custom-light: #9561af;
$custom-dark: #000000;
JSON
{
  "hex": "#641c8d",
  "rgb": {
    "r": 100,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 278.23,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40207,
    "c": 0.17522,
    "h": 309.4
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#641C8D
secondary
#72BD48
accent
#EA3E7C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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