#643D71#643D71

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

Color values

HEX#643D71
RGBrgb(100, 61, 113)
HSLhsl(285, 30%, 34%)
HSVhsv(285, 46%, 44%)
CMYKcmyk(11.5%, 46%, 0%, 55.7%)
CIE-LABlab(32.35, 26.90, -23.26)
CIE-LCHlch(32.35, 35.56, 319.15°)
OKLaboklab(42.78% 0.0696 -0.0643)
OKLCHoklch(42.78% 0.095 317.3)
XYZxyz(9.9045, 7.2394, 16.4952)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D71 #4A713D
analogous
#4A3D71 #643D71 #713D64
triadic
#643D71 #71643D #3D7164
tetradic
#643D71 #714A3D #4A713D #3D6471
square
#643D71 #714A3D #4A713D #3D6471
split-complementary
#643D71 #64713D #3D714A
monochromatic
#1E1222 #412849 #643D71 #875299 #A474B4

Accessibility & contrast

On white

8.58
#643D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#643D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D71
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D71#FFFFFF#000000##FFFFFF
##643D711.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A73
Deuteranopia (green-blind)
#3F4D70
Tritanopia (blue-blind)
#644451
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643d71;
/* rgb */ color: rgb(100, 61, 113);
/* oklch */ color: oklch(42.8% 0.095 317.3);
Tailwind
colors: {
  custom: {
    50: '#91739a',
    500: '#643d71',
    950: '#000000',
  },
}
SCSS
$custom: #643d71;
$custom-light: #91739a;
$custom-dark: #000000;
JSON
{
  "hex": "#643d71",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 285,
    "s": 29.885,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.09476,
    "h": 317.3
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#643D71
secondary
#789E6B
accent
#C6627B
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643D71

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

Preview Lab → · Contrast checker → · Palette generator →

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