#643C8A#643C8A

#643C8A is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.1% C 0.128 H 305.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#643C8A
RGBrgb(100, 60, 138)
HSLhsl(271, 39%, 39%)
HSVhsv(271, 57%, 54%)
CMYKcmyk(27.5%, 56.5%, 0%, 45.9%)
CIE-LABlab(33.51, 33.58, -37.00)
CIE-LCHlch(33.51, 49.97, 312.23°)
OKLaboklab(44.1% 0.0742 -0.1042)
OKLCHoklch(44.1% 0.128 305.5)
XYZxyz(11.4579, 7.7761, 24.9371)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C8A #628A3C
analogous
#3D3C8A #643C8A #8A3C89
triadic
#643C8A #8A643C #3C8A64
tetradic
#643C8A #8A3D3C #628A3C #3C898A
square
#643C8A #8A3D3C #628A3C #3C898A
split-complementary
#643C8A #898A3C #3C8A3D
monochromatic
#261735 #45295F #643C8A #8350B3 #A17BC6

Accessibility & contrast

On white

8.22
#643C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#643C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C8A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C8A#FFFFFF#000000##FFFFFF
##643C8A1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8D
Deuteranopia (green-blind)
#2E4F88
Tritanopia (blue-blind)
#5E4B5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643c8a;
/* rgb */ color: rgb(100, 60, 138);
/* oklch */ color: oklch(44.1% 0.128 305.5);
Tailwind
colors: {
  custom: {
    50: '#9373ac',
    500: '#643c8a',
    950: '#000000',
  },
}
SCSS
$custom: #643c8a;
$custom-light: #9373ac;
$custom-dark: #000000;
JSON
{
  "hex": "#643c8a",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 270.769,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44096,
    "c": 0.12789,
    "h": 305.5
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#643C8A
secondary
#90AF73
accent
#CF5992
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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