#643C87#643C87

#643C87 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.9% C 0.124 H 306.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#643C87
RGBrgb(100, 60, 135)
HSLhsl(272, 38%, 38%)
HSVhsv(272, 56%, 53%)
CMYKcmyk(25.9%, 55.6%, 0%, 47.1%)
CIE-LABlab(33.33, 32.82, -35.44)
CIE-LCHlch(33.33, 48.30, 312.80°)
OKLaboklab(43.9% 0.074 -0.0996)
OKLCHoklch(43.9% 0.124 306.6)
XYZxyz(11.2437, 7.6904, 23.8090)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C87 #5F873C
analogous
#3E3C87 #643C87 #873C84
triadic
#643C87 #87643C #3C8764
tetradic
#643C87 #873E3C #5F873C #3C8487
square
#643C87 #873E3C #5F873C #3C8487
split-complementary
#643C87 #84873C #3C873E
monochromatic
#251632 #45295D #643C87 #834FB1 #A17AC4

Accessibility & contrast

On white

8.27
#643C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#643C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C87
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C87#FFFFFF#000000##FFFFFF
##643C871.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D8A
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#5F4A5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643c87;
/* rgb */ color: rgb(100, 60, 135);
/* oklch */ color: oklch(43.9% 0.124 306.6);
Tailwind
colors: {
  custom: {
    50: '#9273aa',
    500: '#643c87',
    950: '#000000',
  },
}
SCSS
$custom: #643c87;
$custom-light: #9273aa;
$custom-dark: #000000;
JSON
{
  "hex": "#643c87",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 272,
    "s": 38.462,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.1241,
    "h": 306.6
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#643C87
secondary
#8DAD71
accent
#CE5990
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643C87

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

Preview Lab → · Contrast checker → · Palette generator →

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