#643BAB#643BAB

#643BAB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.3% C 0.170 H 295.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#643BAB
RGBrgb(100, 59, 171)
HSLhsl(262, 49%, 45%)
HSVhsv(262, 65%, 67%)
CMYKcmyk(41.5%, 65.5%, 0%, 32.9%)
CIE-LABlab(35.55, 42.91, -53.72)
CIE-LCHlch(35.55, 68.75, 308.61°)
OKLaboklab(46.3% 0.0743 -0.1533)
OKLCHoklch(46.3% 0.17 295.9)
XYZxyz(14.1682, 8.7772, 39.4679)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BAB #82AB3B
analogous
#3B4AAB #643BAB #9C3BAB
triadic
#643BAB #AB643B #3BAB64
tetradic
#643BAB #AB3B4A #82AB3B #3BAB9C
square
#643BAB #AB3B4A #82AB3B #3BAB9C
split-complementary
#643BAB #AB9C3B #4AAB3B
monochromatic
#2F1C50 #492B7D #643BAB #835CC7 #A68AD7

Accessibility & contrast

On white

7.62
#643BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#643BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643BAB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BAB#FFFFFF#000000##FFFFFF
##643BAB1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#52556E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643bab;
/* rgb */ color: rgb(100, 59, 171);
/* oklch */ color: oklch(46.3% 0.170 295.9);
Tailwind
colors: {
  custom: {
    50: '#9673c5',
    500: '#643bab',
    950: '#000000',
  },
}
SCSS
$custom: #643bab;
$custom-light: #9673c5;
$custom-dark: #000000;
JSON
{
  "hex": "#643bab",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 261.964,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.463,
    "c": 0.17034,
    "h": 295.9
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#643BAB
secondary
#A9C181
accent
#D850A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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