#643AA1#643AA1

#643AA1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.160 H 298.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#643AA1
RGBrgb(100, 58, 161)
HSLhsl(264, 47%, 43%)
HSVhsv(264, 64%, 63%)
CMYKcmyk(37.9%, 64%, 0%, 36.9%)
CIE-LABlab(34.62, 40.75, -49.23)
CIE-LCHlch(34.62, 63.91, 309.61°)
OKLaboklab(45.39% 0.0764 -0.1401)
OKLCHoklch(45.39% 0.16 298.6)
XYZxyz(13.2000, 8.3085, 34.6196)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AA1 #77A13A
analogous
#3A43A1 #643AA1 #973AA1
triadic
#643AA1 #A1643A #3AA164
tetradic
#643AA1 #A13A43 #77A13A #3AA197
square
#643AA1 #A13A43 #77A13A #3AA197
split-complementary
#643AA1 #A1973A #43A13A
monochromatic
#2C1A47 #482A74 #643AA1 #8256C2 #A383D2

Accessibility & contrast

On white

7.89
#643AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#643AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AA1
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AA1#FFFFFF#000000##FFFFFF
##643AA11.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#07509F
Tritanopia (blue-blind)
#565168
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643aa1;
/* rgb */ color: rgb(100, 58, 161);
/* oklch */ color: oklch(45.4% 0.160 298.6);
Tailwind
colors: {
  custom: {
    50: '#9572bd',
    500: '#643aa1',
    950: '#000000',
  },
}
SCSS
$custom: #643aa1;
$custom-light: #9572bd;
$custom-dark: #000000;
JSON
{
  "hex": "#643aa1",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 264.466,
    "s": 47.032,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.15956,
    "h": 298.6
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#643AA1
secondary
#A1BC7B
accent
#D751A0
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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