#643C96#643C96

#643C96 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.143 H 301.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#643C96
RGBrgb(100, 60, 150)
HSLhsl(267, 43%, 41%)
HSVhsv(267, 60%, 59%)
CMYKcmyk(33.3%, 60%, 0%, 41.2%)
CIE-LABlab(34.28, 36.70, -43.12)
CIE-LCHlch(34.28, 56.62, 310.40°)
OKLaboklab(44.91% 0.0744 -0.1221)
OKLCHoklch(44.91% 0.143 301.3)
XYZxyz(12.3751, 8.1430, 29.7680)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C96 #6E963C
analogous
#3C4196 #643C96 #913C96
triadic
#643C96 #96643C #3C9664
tetradic
#643C96 #963C41 #6E963C #3C9691
square
#643C96 #963C41 #6E963C #3C9691
split-complementary
#643C96 #96913C #41963C
monochromatic
#2A193F #472B6A #643C96 #8254BB #A280CC

Accessibility & contrast

On white

7.99
#643C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#643C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C96
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C96#FFFFFF#000000##FFFFFF
##643C961.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5099
Deuteranopia (green-blind)
#225094
Tritanopia (blue-blind)
#5A4E63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643c96;
/* rgb */ color: rgb(100, 60, 150);
/* oklch */ color: oklch(44.9% 0.143 301.3);
Tailwind
colors: {
  custom: {
    50: '#9473b5',
    500: '#643c96',
    950: '#000000',
  },
}
SCSS
$custom: #643c96;
$custom-light: #9473b5;
$custom-dark: #000000;
JSON
{
  "hex": "#643c96",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 266.667,
    "s": 42.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44905,
    "c": 0.14299,
    "h": 301.3
  },
  "luminance": 0.08143
}

Semantic roles & 50–950 ramp

primary
#643C96
secondary
#9AB678
accent
#D3559B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643C96

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

Preview Lab → · Contrast checker → · Palette generator →

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