#643CB1#643CB1

#643CB1 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.176 H 294.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#643CB1
RGBrgb(100, 60, 177)
HSLhsl(261, 49%, 46%)
HSVhsv(261, 66%, 69%)
CMYKcmyk(43.5%, 66.1%, 0%, 30.6%)
CIE-LABlab(36.20, 44.01, -56.23)
CIE-LCHlch(36.20, 71.40, 308.05°)
OKLaboklab(46.91% 0.0725 -0.1607)
OKLCHoklch(46.91% 0.176 294.3)
XYZxyz(14.8051, 9.1150, 42.5658)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CB1 #89B13C
analogous
#3C4FB1 #643CB1 #9F3CB1
triadic
#643CB1 #B1643C #3CB164
tetradic
#643CB1 #B13C4F #89B13C #3CB19F
square
#643CB1 #B13C4F #89B13C #3CB19F
split-complementary
#643CB1 #B19F3C #4FB13C
monochromatic
#301D56 #4A2D83 #643CB1 #8561C9 #A88FD9

Accessibility & contrast

On white

7.44
#643CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#643CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CB1
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CB1#FFFFFF#000000##FFFFFF
##643CB11.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#4F5871
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643cb1;
/* rgb */ color: rgb(100, 60, 177);
/* oklch */ color: oklch(46.9% 0.176 294.3);
Tailwind
colors: {
  custom: {
    50: '#9674c9',
    500: '#643cb1',
    950: '#000000',
  },
}
SCSS
$custom: #643cb1;
$custom-light: #9674c9;
$custom-dark: #000000;
JSON
{
  "hex": "#643cb1",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 260.513,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.17628,
    "h": 294.3
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#643CB1
secondary
#AEC485
accent
#D94FAA
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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