#643A97#643A97

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

Color values

HEX#643A97
RGBrgb(100, 58, 151)
HSLhsl(267, 44%, 41%)
HSVhsv(267, 62%, 59%)
CMYKcmyk(33.8%, 61.6%, 0%, 40.8%)
CIE-LABlab(33.92, 38.10, -44.30)
CIE-LCHlch(33.92, 58.43, 310.69°)
OKLaboklab(44.67% 0.0769 -0.1256)
OKLCHoklch(44.67% 0.147 301.5)
XYZxyz(12.3532, 7.9698, 30.1597)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A97 #6D973A
analogous
#3A3E97 #643A97 #923A97
triadic
#643A97 #97643A #3A9764
tetradic
#643A97 #973A3E #6D973A #3A9792
square
#643A97 #973A3E #6D973A #3A9792
split-complementary
#643A97 #97923A #3E973A
monochromatic
#29183F #47296B #643A97 #8252BC #A27ECD

Accessibility & contrast

On white

8.10
#643A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643A97
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A97#FFFFFF#000000##FFFFFF
##643A971.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F9A
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#5A4D63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643a97;
/* rgb */ color: rgb(100, 58, 151);
/* oklch */ color: oklch(44.7% 0.147 301.5);
Tailwind
colors: {
  custom: {
    50: '#9472b6',
    500: '#643a97',
    950: '#000000',
  },
}
SCSS
$custom: #643a97;
$custom-light: #9472b6;
$custom-dark: #000000;
JSON
{
  "hex": "#643a97",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 267.097,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44665,
    "c": 0.14729,
    "h": 301.5
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#643A97
secondary
#9AB776
accent
#D4549A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643A97

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

Preview Lab → · Contrast checker → · Palette generator →

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