#643C8B#643C8B

#643C8B is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.2% C 0.129 H 305.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#643C8B
RGBrgb(100, 60, 139)
HSLhsl(270, 40%, 39%)
HSVhsv(270, 57%, 55%)
CMYKcmyk(28.1%, 56.8%, 0%, 45.5%)
CIE-LABlab(33.57, 33.84, -37.52)
CIE-LCHlch(33.57, 50.52, 312.05°)
OKLaboklab(44.16% 0.0742 -0.1057)
OKLCHoklch(44.16% 0.129 305.1)
XYZxyz(11.5306, 7.8052, 25.3202)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C8B #638B3C
analogous
#3D3C8B #643C8B #8B3C8B
triadic
#643C8B #8B643C #3C8B64
tetradic
#643C8B #8B3D3C #638B3C #3C8B8B
square
#643C8B #8B3D3C #638B3C #3C8B8B
split-complementary
#643C8B #8B8B3C #3C8B3D
monochromatic
#261736 #452A60 #643C8B #8351B4 #A17BC6

Accessibility & contrast

On white

8.20
#643C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643C8B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C8B#FFFFFF#000000##FFFFFF
##643C8B1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8E
Deuteranopia (green-blind)
#2E4F89
Tritanopia (blue-blind)
#5D4B5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643c8b;
/* rgb */ color: rgb(100, 60, 139);
/* oklch */ color: oklch(44.2% 0.129 305.1);
Tailwind
colors: {
  custom: {
    50: '#9373ad',
    500: '#643c8b',
    950: '#000000',
  },
}
SCSS
$custom: #643c8b;
$custom-light: #9373ad;
$custom-dark: #000000;
JSON
{
  "hex": "#643c8b",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 270.38,
    "s": 39.698,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.12915,
    "h": 305.1
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#643C8B
secondary
#91B073
accent
#D05893
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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