#643A71#643A71

#643A71 is a dark, moderate purple. Relative luminance 0.069; OKLCH L 42.3% C 0.100 H 317.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#643A71
RGBrgb(100, 58, 113)
HSLhsl(286, 32%, 34%)
HSVhsv(286, 49%, 44%)
CMYKcmyk(11.5%, 48.7%, 0%, 55.7%)
CIE-LABlab(31.64, 28.69, -24.36)
CIE-LCHlch(31.64, 37.64, 319.67°)
OKLaboklab(42.25% 0.0744 -0.0674)
OKLCHoklch(42.25% 0.1 317.8)
XYZxyz(9.7488, 6.9280, 16.4433)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A71 #47713A
analogous
#483A71 #643A71 #713A62
triadic
#643A71 #71643A #3A7164
tetradic
#643A71 #71483A #47713A #3A6271
square
#643A71 #71483A #47713A #3A6271
split-complementary
#643A71 #62713A #3A7148
monochromatic
#1C1020 #402549 #643A71 #884F99 #A570B6

Accessibility & contrast

On white

8.80
#643A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#643A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A71
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A71#FFFFFF#000000##FFFFFF
##643A711.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304873
Deuteranopia (green-blind)
#3C4C6F
Tritanopia (blue-blind)
#644250
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #643a71;
/* rgb */ color: rgb(100, 58, 113);
/* oklch */ color: oklch(42.3% 0.100 317.8);
Tailwind
colors: {
  custom: {
    50: '#91719a',
    500: '#643a71',
    950: '#000000',
  },
}
SCSS
$custom: #643a71;
$custom-light: #91719a;
$custom-dark: #000000;
JSON
{
  "hex": "#643a71",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 285.818,
    "s": 32.164,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.10042,
    "h": 317.8
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#643A71
secondary
#759F68
accent
#C85F78
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643A71

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

Preview Lab → · Contrast checker → · Palette generator →

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