#643166#643166

#643166 is a dark, moderate purple. Relative luminance 0.059; OKLCH L 40.2% C 0.105 H 325.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#643166
RGBrgb(100, 49, 102)
HSLhsl(298, 35%, 30%)
HSVhsv(298, 52%, 40%)
CMYKcmyk(2%, 52%, 0%, 60%)
CIE-LABlab(29.07, 31.51, -21.37)
CIE-LCHlch(29.07, 38.08, 325.85°)
OKLaboklab(40.16% 0.0867 -0.0587)
OKLCHoklch(40.16% 0.105 325.9)
XYZxyz(8.7519, 5.8657, 13.2390)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643166 #336631
analogous
#4A3166 #643166 #66314E
triadic
#643166 #666431 #316664
tetradic
#643166 #664A31 #336631 #314E66
square
#643166 #664A31 #336631 #314E66
split-complementary
#643166 #4E6631 #31664A
monochromatic
#140A15 #3B1D3D #643166 #8D458F #AF5FB2

Accessibility & contrast

On white

9.66
#643166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#643166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643166
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643166#FFFFFF#000000##FFFFFF
##6431661.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4068
Deuteranopia (green-blind)
#3A4764
Tritanopia (blue-blind)
#663747
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #643166;
/* rgb */ color: rgb(100, 49, 102);
/* oklch */ color: oklch(40.2% 0.105 325.9);
Tailwind
colors: {
  custom: {
    50: '#926b92',
    500: '#643166',
    950: '#000000',
  },
}
SCSS
$custom: #643166;
$custom-light: #926b92;
$custom-dark: #000000;
JSON
{
  "hex": "#643166",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 297.736,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40158,
    "c": 0.10477,
    "h": 325.9
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#643166
secondary
#5E975C
accent
#CB5D61
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D070D
muted
#7E7A7D

Preview Lab

Preview with #643166

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

Preview Lab → · Contrast checker → · Palette generator →

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