#643E84#643E84

#643E84 is a dark, moderate violet. Relative luminance 0.078; OKLCH L 44.0% C 0.117 H 307.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#643E84
RGBrgb(100, 62, 132)
HSLhsl(273, 36%, 38%)
HSVhsv(273, 53%, 52%)
CMYKcmyk(24.2%, 53%, 0%, 48.2%)
CIE-LABlab(33.61, 30.89, -33.15)
CIE-LCHlch(33.61, 45.31, 312.98°)
OKLaboklab(44.05% 0.0709 -0.0929)
OKLCHoklch(44.05% 0.117 307.3)
XYZxyz(11.1422, 7.8206, 22.7479)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E84 #5E843E
analogous
#413E84 #643E84 #843E81
triadic
#643E84 #84643E #3E8464
tetradic
#643E84 #84413E #5E843E #3E8184
square
#643E84 #84413E #5E843E #3E8184
split-complementary
#643E84 #81843E #3E8441
monochromatic
#251731 #442A5A #643E84 #8452AE #A17BC1

Accessibility & contrast

On white

8.19
#643E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#643E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E84
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E84#FFFFFF#000000##FFFFFF
##643E841.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E86
Deuteranopia (green-blind)
#354F82
Tritanopia (blue-blind)
#5F4A5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643e84;
/* rgb */ color: rgb(100, 62, 132);
/* oklch */ color: oklch(44.0% 0.117 307.3);
Tailwind
colors: {
  custom: {
    50: '#9274a8',
    500: '#643e84',
    950: '#000000',
  },
}
SCSS
$custom: #643e84;
$custom-light: #9274a8;
$custom-dark: #000000;
JSON
{
  "hex": "#643e84",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 132
  },
  "hsl": {
    "h": 272.571,
    "s": 36.082,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4405,
    "c": 0.11687,
    "h": 307.3
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#643E84
secondary
#8CAB73
accent
#CC5C8F
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643E84

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

Preview Lab → · Contrast checker → · Palette generator →

#643E84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva