#643EAA#643EAA

#643EAA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.165 H 295.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#643EAA
RGBrgb(100, 62, 170)
HSLhsl(261, 47%, 45%)
HSVhsv(261, 64%, 67%)
CMYKcmyk(41.2%, 63.5%, 0%, 33.3%)
CIE-LABlab(36.09, 40.97, -52.25)
CIE-LCHlch(36.09, 66.39, 308.10°)
OKLaboklab(46.67% 0.071 -0.1489)
OKLCHoklch(46.67% 0.165 295.5)
XYZxyz(14.2319, 9.0565, 39.0207)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EAA #84AA3E
analogous
#3E4EAA #643EAA #9A3EAA
triadic
#643EAA #AA643E #3EAA64
tetradic
#643EAA #AA3E4E #84AA3E #3EAA9A
square
#643EAA #AA3E4E #84AA3E #3EAA9A
split-complementary
#643EAA #AA9A3E #4EAA3E
monochromatic
#2F1D50 #4A2E7D #643EAA #8460C5 #A68DD5

Accessibility & contrast

On white

7.47
#643EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#643EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EAA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EAA#FFFFFF#000000##FFFFFF
##643EAA1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#52566E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643eaa;
/* rgb */ color: rgb(100, 62, 170);
/* oklch */ color: oklch(46.7% 0.165 295.5);
Tailwind
colors: {
  custom: {
    50: '#9575c4',
    500: '#643eaa',
    950: '#000000',
  },
}
SCSS
$custom: #643eaa;
$custom-light: #9575c4;
$custom-dark: #000000;
JSON
{
  "hex": "#643eaa",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 261.111,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.16501,
    "h": 295.5
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#643EAA
secondary
#ABC084
accent
#D652A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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