#643B78#643B78

#643B78 is a dark, moderate purple. Relative luminance 0.072; OKLCH L 42.8% C 0.107 H 313.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#643B78
RGBrgb(100, 59, 120)
HSLhsl(280, 34%, 35%)
HSVhsv(280, 51%, 47%)
CMYKcmyk(16.7%, 50.8%, 0%, 52.9%)
CIE-LABlab(32.24, 29.73, -27.83)
CIE-LCHlch(32.24, 40.72, 316.89°)
OKLaboklab(42.82% 0.074 -0.0774)
OKLCHoklch(42.82% 0.107 313.7)
XYZxyz(10.2091, 7.1936, 18.6164)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B78 #4F783B
analogous
#463B78 #643B78 #783B6D
triadic
#643B78 #78643B #3B7864
tetradic
#643B78 #78463B #4F783B #3B6D78
square
#643B78 #78463B #4F783B #3B6D78
split-complementary
#643B78 #6D783B #3B7846
monochromatic
#201326 #42274F #643B78 #864FA1 #A373BA

Accessibility & contrast

On white

8.61
#643B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#643B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B78
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B78#FFFFFF#000000##FFFFFF
##643B781.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7A
Deuteranopia (green-blind)
#3A4D76
Tritanopia (blue-blind)
#624454
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643b78;
/* rgb */ color: rgb(100, 59, 120);
/* oklch */ color: oklch(42.8% 0.107 313.7);
Tailwind
colors: {
  custom: {
    50: '#92729f',
    500: '#643b78',
    950: '#000000',
  },
}
SCSS
$custom: #643b78;
$custom-light: #92729f;
$custom-dark: #000000;
JSON
{
  "hex": "#643b78",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 280.328,
    "s": 34.078,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4282,
    "c": 0.10709,
    "h": 313.7
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#643B78
secondary
#7EA46B
accent
#CA5E81
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643B78

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

Preview Lab → · Contrast checker → · Palette generator →

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