#643B96#643B96

#643B96 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.7% C 0.145 H 301.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#643B96
RGBrgb(100, 59, 150)
HSLhsl(267, 44%, 41%)
HSVhsv(267, 61%, 59%)
CMYKcmyk(33.3%, 60.7%, 0%, 41.2%)
CIE-LABlab(34.06, 37.27, -43.46)
CIE-LCHlch(34.06, 57.25, 310.61°)
OKLaboklab(44.75% 0.0757 -0.1231)
OKLCHoklch(44.75% 0.145 301.6)
XYZxyz(12.3232, 8.0392, 29.7507)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B96 #6D963B
analogous
#3B3F96 #643B96 #913B96
triadic
#643B96 #96643B #3B9664
tetradic
#643B96 #963B3F #6D963B #3B9691
square
#643B96 #963B3F #6D963B #3B9691
split-complementary
#643B96 #96913B #3F963B
monochromatic
#29183E #472A6A #643B96 #8253BB #A27FCD

Accessibility & contrast

On white

8.05
#643B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#643B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B96
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B96#FFFFFF#000000##FFFFFF
##643B961.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5099
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#5A4E63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643b96;
/* rgb */ color: rgb(100, 59, 150);
/* oklch */ color: oklch(44.7% 0.145 301.6);
Tailwind
colors: {
  custom: {
    50: '#9473b5',
    500: '#643b96',
    950: '#000000',
  },
}
SCSS
$custom: #643b96;
$custom-light: #9473b5;
$custom-dark: #000000;
JSON
{
  "hex": "#643b96",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 267.033,
    "s": 43.541,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44749,
    "c": 0.14453,
    "h": 301.6
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#643B96
secondary
#9AB677
accent
#D3559A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643B96

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

Preview Lab → · Contrast checker → · Palette generator →

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