#643AD1#643AD1

#643AD1 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.216 H 288.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#643AD1
RGBrgb(100, 58, 209)
HSLhsl(257, 62%, 52%)
HSVhsv(257, 72%, 82%)
CMYKcmyk(52.2%, 72.2%, 0%, 18%)
CIE-LABlab(38.44, 53.92, -71.32)
CIE-LCHlch(38.44, 89.40, 307.09°)
OKLaboklab(49.32% 0.0688 -0.205)
OKLCHoklch(49.32% 0.216 288.6)
XYZxyz(18.2738, 10.3380, 61.3418)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AD1 #A7D13A
analogous
#3A5BD1 #643AD1 #B03AD1
triadic
#643AD1 #D1643A #3AD164
tetradic
#643AD1 #D13A5B #A7D13A #3AD1B0
square
#643AD1 #D13A5B #A7D13A #3AD1B0
split-complementary
#643AD1 #D1B03A #5BD13A
monochromatic
#341B75 #4B27A7 #643AD1 #8B6CDD #B29DE8

Accessibility & contrast

On white

6.85
#643AD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#643AD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643AD1
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AD1#FFFFFF#000000##FFFFFF
##643AD11.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0057CE
Tritanopia (blue-blind)
#3A6382
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #643ad1;
/* rgb */ color: rgb(100, 58, 209);
/* oklch */ color: oklch(49.3% 0.216 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a74e0',
    500: '#643ad1',
    950: '#000000',
  },
}
SCSS
$custom: #643ad1;
$custom-light: #9a74e0;
$custom-dark: #000000;
JSON
{
  "hex": "#643ad1",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 209
  },
  "hsl": {
    "h": 256.689,
    "s": 62.14,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49322,
    "c": 0.2162,
    "h": 288.6
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#643AD1
secondary
#C2D493
accent
#E543B8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #643AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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