#643A96#643A96

#643A96 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.6% C 0.146 H 301.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#643A96
RGBrgb(100, 58, 150)
HSLhsl(267, 44%, 41%)
HSVhsv(267, 61%, 59%)
CMYKcmyk(33.3%, 61.3%, 0%, 41.2%)
CIE-LABlab(33.85, 37.84, -43.80)
CIE-LCHlch(33.85, 57.88, 310.82°)
OKLaboklab(44.59% 0.077 -0.1241)
OKLCHoklch(44.59% 0.146 301.8)
XYZxyz(12.2723, 7.9374, 29.7338)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A96 #6C963A
analogous
#3A3E96 #643A96 #923A96
triadic
#643A96 #96643A #3A9664
tetradic
#643A96 #963A3E #6C963A #3A9692
square
#643A96 #963A3E #6C963A #3A9692
split-complementary
#643A96 #96923A #3E963A
monochromatic
#29183E #47296A #643A96 #8251BC #A27DCD

Accessibility & contrast

On white

8.12
#643A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#643A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A96
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A96#FFFFFF#000000##FFFFFF
##643A961.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054F99
Deuteranopia (green-blind)
#1F4F94
Tritanopia (blue-blind)
#5A4D62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643a96;
/* rgb */ color: rgb(100, 58, 150);
/* oklch */ color: oklch(44.6% 0.146 301.8);
Tailwind
colors: {
  custom: {
    50: '#9472b5',
    500: '#643a96',
    950: '#000000',
  },
}
SCSS
$custom: #643a96;
$custom-light: #9472b5;
$custom-dark: #000000;
JSON
{
  "hex": "#643a96",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 267.391,
    "s": 44.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44594,
    "c": 0.14606,
    "h": 301.8
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#643A96
secondary
#99B675
accent
#D45499
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643A96

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

Preview Lab → · Contrast checker → · Palette generator →

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