#643AAB#643AAB

#643AAB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.172 H 296.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#643AAB
RGBrgb(100, 58, 171)
HSLhsl(262, 49%, 45%)
HSVhsv(262, 66%, 67%)
CMYKcmyk(41.5%, 66.1%, 0%, 32.9%)
CIE-LABlab(35.35, 43.45, -54.04)
CIE-LCHlch(35.35, 69.34, 308.80°)
OKLaboklab(46.16% 0.0754 -0.1542)
OKLCHoklch(46.16% 0.172 296.1)
XYZxyz(14.1173, 8.6754, 39.4509)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AAB #81AB3A
analogous
#3A48AB #643AAB #9D3AAB
triadic
#643AAB #AB643A #3AAB64
tetradic
#643AAB #AB3A48 #81AB3A #3AAB9D
square
#643AAB #AB3A48 #81AB3A #3AAB9D
split-complementary
#643AAB #AB9D3A #48AB3A
monochromatic
#2F1B50 #492A7D #643AAB #835BC7 #A689D7

Accessibility & contrast

On white

7.68
#643AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#643AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AAB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AAB#FFFFFF#000000##FFFFFF
##643AAB1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#52546D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643aab;
/* rgb */ color: rgb(100, 58, 171);
/* oklch */ color: oklch(46.2% 0.172 296.1);
Tailwind
colors: {
  custom: {
    50: '#9673c5',
    500: '#643aab',
    950: '#000000',
  },
}
SCSS
$custom: #643aab;
$custom-light: #9673c5;
$custom-dark: #000000;
JSON
{
  "hex": "#643aab",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 262.301,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46156,
    "c": 0.17168,
    "h": 296.1
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#643AAB
secondary
#A9C180
accent
#D94FA6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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