#643C78#643C78

#643C78 is a dark, moderate purple. Relative luminance 0.073; OKLCH L 43.0% C 0.105 H 313.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#643C78
RGBrgb(100, 60, 120)
HSLhsl(280, 33%, 35%)
HSVhsv(280, 50%, 47%)
CMYKcmyk(16.7%, 50%, 0%, 52.9%)
CIE-LABlab(32.47, 29.14, -27.46)
CIE-LCHlch(32.47, 40.04, 316.69°)
OKLaboklab(42.99% 0.0724 -0.0764)
OKLCHoklch(42.99% 0.105 313.5)
XYZxyz(10.2610, 7.2974, 18.6337)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C78 #50783C
analogous
#463C78 #643C78 #783C6E
triadic
#643C78 #78643C #3C7864
tetradic
#643C78 #78463C #50783C #3C6E78
square
#643C78 #78463C #50783C #3C6E78
split-complementary
#643C78 #6E783C #3C7846
monochromatic
#201326 #42284F #643C78 #8650A1 #A375BA

Accessibility & contrast

On white

8.54
#643C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#643C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C78
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C78#FFFFFF#000000##FFFFFF
##643C781.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643c78;
/* rgb */ color: rgb(100, 60, 120);
/* oklch */ color: oklch(43.0% 0.105 313.5);
Tailwind
colors: {
  custom: {
    50: '#92739f',
    500: '#643c78',
    950: '#000000',
  },
}
SCSS
$custom: #643c78;
$custom-light: #92739f;
$custom-dark: #000000;
JSON
{
  "hex": "#643c78",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 120
  },
  "hsl": {
    "h": 280,
    "s": 33.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.10527,
    "h": 313.5
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#643C78
secondary
#7FA46C
accent
#C95E82
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643C78

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

Preview Lab → · Contrast checker → · Palette generator →

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