#643AB1#643AB1

#643AB1 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.6% C 0.179 H 294.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#643AB1
RGBrgb(100, 58, 177)
HSLhsl(261, 51%, 46%)
HSVhsv(261, 67%, 69%)
CMYKcmyk(43.5%, 67.2%, 0%, 30.6%)
CIE-LABlab(35.81, 45.09, -56.87)
CIE-LCHlch(35.81, 72.58, 308.41°)
OKLaboklab(46.63% 0.0746 -0.1625)
OKLCHoklch(46.63% 0.179 294.7)
XYZxyz(14.7023, 8.9094, 42.5315)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AB1 #87B13A
analogous
#3A4CB1 #643AB1 #9F3AB1
triadic
#643AB1 #B1643A #3AB164
tetradic
#643AB1 #B13A4C #87B13A #3AB19F
square
#643AB1 #B13A4C #87B13A #3AB19F
split-complementary
#643AB1 #B19F3A #4CB13A
monochromatic
#301C55 #4A2B83 #643AB1 #845ECA #A78CD9

Accessibility & contrast

On white

7.55
#643AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#643AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AB1
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AB1#FFFFFF#000000##FFFFFF
##643AB11.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#4F5770
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643ab1;
/* rgb */ color: rgb(100, 58, 177);
/* oklch */ color: oklch(46.6% 0.179 294.7);
Tailwind
colors: {
  custom: {
    50: '#9673c9',
    500: '#643ab1',
    950: '#000000',
  },
}
SCSS
$custom: #643ab1;
$custom-light: #9673c9;
$custom-dark: #000000;
JSON
{
  "hex": "#643ab1",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 261.176,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.17887,
    "h": 294.7
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#643AB1
secondary
#ADC483
accent
#DA4EA9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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