#643170#643170

#643170 is a dark, moderate purple. Relative luminance 0.061; OKLCH L 40.7% C 0.116 H 319.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#643170
RGBrgb(100, 49, 112)
HSLhsl(289, 39%, 32%)
HSVhsv(289, 56%, 44%)
CMYKcmyk(10.7%, 56.3%, 0%, 56.1%)
CIE-LABlab(29.60, 33.65, -26.93)
CIE-LCHlch(29.60, 43.10, 321.33°)
OKLaboklab(40.73% 0.0882 -0.0748)
OKLCHoklch(40.73% 0.116 319.7)
XYZxyz(9.2781, 6.0762, 16.0102)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643170 #3D7031
analogous
#453170 #643170 #70315D
triadic
#643170 #706431 #317064
tetradic
#643170 #704531 #3D7031 #315D70
square
#643170 #704531 #3D7031 #315D70
split-complementary
#643170 #5D7031 #317045
monochromatic
#180C1B #3E1E45 #643170 #8A449B #A961BA

Accessibility & contrast

On white

9.48
#643170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#643170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643170
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643170#FFFFFF#000000##FFFFFF
##6431701.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643170;
/* rgb */ color: rgb(100, 49, 112);
/* oklch */ color: oklch(40.7% 0.116 319.7);
Tailwind
colors: {
  custom: {
    50: '#926c99',
    500: '#643170',
    950: '#000000',
  },
}
SCSS
$custom: #643170;
$custom-light: #926c99;
$custom-dark: #000000;
JSON
{
  "hex": "#643170",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 288.571,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40725,
    "c": 0.11562,
    "h": 319.7
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#643170
secondary
#69A15C
accent
#CF596F
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #643170

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

Preview Lab → · Contrast checker → · Palette generator →

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