#643B71#643B71

#643B71 is a dark, moderate purple. Relative luminance 0.070; OKLCH L 42.4% C 0.099 H 317.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#643B71
RGBrgb(100, 59, 113)
HSLhsl(286, 31%, 34%)
HSVhsv(286, 48%, 44%)
CMYKcmyk(11.5%, 47.8%, 0%, 55.7%)
CIE-LABlab(31.87, 28.10, -24.00)
CIE-LCHlch(31.87, 36.95, 319.50°)
OKLaboklab(42.43% 0.0728 -0.0664)
OKLCHoklch(42.43% 0.099 317.7)
XYZxyz(9.7997, 7.0298, 16.4603)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B71 #48713B
analogous
#493B71 #643B71 #713B63
triadic
#643B71 #71643B #3B7164
tetradic
#643B71 #71493B #48713B #3B6371
square
#643B71 #71493B #48713B #3B6371
split-complementary
#643B71 #63713B #3B7149
monochromatic
#1D1121 #402649 #643B71 #885099 #A571B5

Accessibility & contrast

On white

8.73
#643B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#643B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B71
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B71#FFFFFF#000000##FFFFFF
##643B711.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324873
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#644250
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #643b71;
/* rgb */ color: rgb(100, 59, 113);
/* oklch */ color: oklch(42.4% 0.099 317.7);
Tailwind
colors: {
  custom: {
    50: '#91729a',
    500: '#643b71',
    950: '#000000',
  },
}
SCSS
$custom: #643b71;
$custom-light: #91729a;
$custom-dark: #000000;
JSON
{
  "hex": "#643b71",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 285.556,
    "s": 31.395,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42425,
    "c": 0.09854,
    "h": 317.7
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#643B71
secondary
#769F69
accent
#C86079
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643B71

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

Preview Lab → · Contrast checker → · Palette generator →

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