#643AA0#643AA0

#643AA0 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.158 H 298.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#643AA0
RGBrgb(100, 58, 160)
HSLhsl(265, 47%, 43%)
HSVhsv(265, 64%, 63%)
CMYKcmyk(37.5%, 63.8%, 0%, 37.3%)
CIE-LABlab(34.55, 40.48, -48.75)
CIE-LCHlch(34.55, 63.37, 309.71°)
OKLaboklab(45.32% 0.0765 -0.1386)
OKLCHoklch(45.32% 0.158 298.9)
XYZxyz(13.1122, 8.2734, 34.1570)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AA0 #76A03A
analogous
#3A43A0 #643AA0 #973AA0
triadic
#643AA0 #A0643A #3AA064
tetradic
#643AA0 #A03A43 #76A03A #3AA097
square
#643AA0 #A03A43 #76A03A #3AA097
split-complementary
#643AA0 #A0973A #43A03A
monochromatic
#2C1946 #482A73 #643AA0 #8256C2 #A383D2

Accessibility & contrast

On white

7.91
#643AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#643AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AA0
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AA0#FFFFFF#000000##FFFFFF
##643AA01.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#0A509E
Tritanopia (blue-blind)
#565167
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643aa0;
/* rgb */ color: rgb(100, 58, 160);
/* oklch */ color: oklch(45.3% 0.158 298.9);
Tailwind
colors: {
  custom: {
    50: '#9572bd',
    500: '#643aa0',
    950: '#000000',
  },
}
SCSS
$custom: #643aa0;
$custom-light: #9572bd;
$custom-dark: #000000;
JSON
{
  "hex": "#643aa0",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 264.706,
    "s": 46.789,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.15833,
    "h": 298.9
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#643AA0
secondary
#A1BC7A
accent
#D651A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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