#643271#643271

#643271 is a dark, moderate purple. Relative luminance 0.062; OKLCH L 40.9% C 0.115 H 319.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#643271
RGBrgb(100, 50, 113)
HSLhsl(288, 39%, 32%)
HSVhsv(288, 56%, 44%)
CMYKcmyk(11.5%, 55.8%, 0%, 55.7%)
CIE-LABlab(29.87, 33.32, -27.15)
CIE-LCHlch(29.87, 42.98, 320.82°)
OKLaboklab(40.94% 0.0868 -0.0754)
OKLCHoklch(40.94% 0.115 319)
XYZxyz(9.3764, 6.1831, 16.3191)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643271 #3F7132
analogous
#453271 #643271 #71325F
triadic
#643271 #716432 #327164
tetradic
#643271 #714532 #3F7132 #325F71
square
#643271 #714532 #3F7132 #325F71
split-complementary
#643271 #5F7132 #327145
monochromatic
#190C1C #3E1F47 #643271 #8A459B #A863BA

Accessibility & contrast

On white

9.39
#643271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#643271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643271
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643271#FFFFFF#000000##FFFFFF
##6432711.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#643B4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #643271;
/* rgb */ color: rgb(100, 50, 113);
/* oklch */ color: oklch(40.9% 0.115 319.0);
Tailwind
colors: {
  custom: {
    50: '#926c9a',
    500: '#643271',
    950: '#000000',
  },
}
SCSS
$custom: #643271;
$custom-light: #926c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#643271",
  "rgb": {
    "r": 100,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 287.619,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.11498,
    "h": 319
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#643271
secondary
#6BA25D
accent
#CF5971
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #643271

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

Preview Lab → · Contrast checker → · Palette generator →

#643271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva