#643EA1#643EA1

#643EA1 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.0% C 0.154 H 297.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#643EA1
RGBrgb(100, 62, 161)
HSLhsl(263, 44%, 44%)
HSVhsv(263, 61%, 63%)
CMYKcmyk(37.9%, 61.5%, 0%, 36.9%)
CIE-LABlab(35.45, 38.51, -47.88)
CIE-LCHlch(35.45, 61.45, 308.81°)
OKLaboklab(46% 0.0716 -0.1361)
OKLCHoklch(46% 0.154 297.7)
XYZxyz(13.4096, 8.7276, 34.6894)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EA1 #7BA13E
analogous
#3E49A1 #643EA1 #953EA1
triadic
#643EA1 #A1643E #3EA164
tetradic
#643EA1 #A13E49 #7BA13E #3EA195
square
#643EA1 #A13E49 #7BA13E #3EA195
split-complementary
#643EA1 #A1953E #49A13E
monochromatic
#2D1C49 #492D75 #643EA1 #825CC0 #A488D1

Accessibility & contrast

On white

7.65
#643EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#643EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EA1
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EA1#FFFFFF#000000##FFFFFF
##643EA11.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#14529F
Tritanopia (blue-blind)
#565369
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643ea1;
/* rgb */ color: rgb(100, 62, 161);
/* oklch */ color: oklch(46.0% 0.154 297.7);
Tailwind
colors: {
  custom: {
    50: '#9475bd',
    500: '#643ea1',
    950: '#000000',
  },
}
SCSS
$custom: #643ea1;
$custom-light: #9475bd;
$custom-dark: #000000;
JSON
{
  "hex": "#643ea1",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 263.03,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.15378,
    "h": 297.7
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#643EA1
secondary
#A4BC7F
accent
#D454A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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