#643270#643270

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

Color values

HEX#643270
RGBrgb(100, 50, 112)
HSLhsl(288, 38%, 32%)
HSVhsv(288, 55%, 44%)
CMYKcmyk(10.7%, 55.4%, 0%, 56.1%)
CIE-LABlab(29.81, 33.09, -26.60)
CIE-LCHlch(29.81, 42.46, 321.21°)
OKLaboklab(40.88% 0.0867 -0.0738)
OKLCHoklch(40.88% 0.114 319.6)
XYZxyz(9.3204, 6.1608, 16.0243)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643270 #3E7032
analogous
#453270 #643270 #70325D
triadic
#643270 #706432 #327064
tetradic
#643270 #704532 #3E7032 #325D70
square
#643270 #704532 #3E7032 #325D70
split-complementary
#643270 #5D7032 #327045
monochromatic
#180C1B #3E1F46 #643270 #8A459A #A963B9

Accessibility & contrast

On white

9.41
#643270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#643270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643270
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643270#FFFFFF#000000##FFFFFF
##6432701.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643270;
/* rgb */ color: rgb(100, 50, 112);
/* oklch */ color: oklch(40.9% 0.114 319.6);
Tailwind
colors: {
  custom: {
    50: '#926c99',
    500: '#643270',
    950: '#000000',
  },
}
SCSS
$custom: #643270;
$custom-light: #926c99;
$custom-dark: #000000;
JSON
{
  "hex": "#643270",
  "rgb": {
    "r": 100,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 288.387,
    "s": 38.272,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4088,
    "c": 0.11386,
    "h": 319.6
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#643270
secondary
#6AA15D
accent
#CE5A70
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #643270

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

Preview Lab → · Contrast checker → · Palette generator →

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