#643AB3#643AB3

#643AB3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.181 H 294.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#643AB3
RGBrgb(100, 58, 179)
HSLhsl(261, 51%, 46%)
HSVhsv(261, 68%, 70%)
CMYKcmyk(44.1%, 67.6%, 0%, 29.8%)
CIE-LABlab(35.96, 45.63, -57.81)
CIE-LCHlch(35.96, 73.65, 308.29°)
OKLaboklab(46.79% 0.0744 -0.1653)
OKLCHoklch(46.79% 0.181 294.2)
XYZxyz(14.9031, 8.9897, 43.5891)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AB3 #89B33A
analogous
#3A4DB3 #643AB3 #A13AB3
triadic
#643AB3 #B3643A #3AB364
tetradic
#643AB3 #B33A4D #89B33A #3AB3A1
square
#643AB3 #B33A4D #89B33A #3AB3A1
split-complementary
#643AB3 #B3A13A #4DB33A
monochromatic
#301C57 #4A2B85 #643AB3 #855FCB #A88DDA

Accessibility & contrast

On white

7.51
#643AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#643AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AB3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AB3#FFFFFF#000000##FFFFFF
##643AB31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#4E5772
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643ab3;
/* rgb */ color: rgb(100, 58, 179);
/* oklch */ color: oklch(46.8% 0.181 294.2);
Tailwind
colors: {
  custom: {
    50: '#9773cb',
    500: '#643ab3',
    950: '#000000',
  },
}
SCSS
$custom: #643ab3;
$custom-light: #9773cb;
$custom-dark: #000000;
JSON
{
  "hex": "#643ab3",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 260.826,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46789,
    "c": 0.18126,
    "h": 294.2
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#643AB3
secondary
#AEC584
accent
#DB4DA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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