#643AA3#643AA3

#643AA3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.162 H 298.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#643AA3
RGBrgb(100, 58, 163)
HSLhsl(264, 48%, 43%)
HSVhsv(264, 64%, 64%)
CMYKcmyk(38.7%, 64.4%, 0%, 36.1%)
CIE-LABlab(34.76, 41.29, -50.21)
CIE-LCHlch(34.76, 65.00, 309.43°)
OKLaboklab(45.54% 0.0762 -0.1429)
OKLCHoklch(45.54% 0.162 298.1)
XYZxyz(13.3778, 8.3796, 35.5558)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AA3 #79A33A
analogous
#3A44A3 #643AA3 #983AA3
triadic
#643AA3 #A3643A #3AA364
tetradic
#643AA3 #A33A44 #79A33A #3AA398
square
#643AA3 #A33A44 #79A33A #3AA398
split-complementary
#643AA3 #A3983A #44A33A
monochromatic
#2D1A49 #482A76 #643AA3 #8257C3 #A484D3

Accessibility & contrast

On white

7.85
#643AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#643AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AA3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AA3#FFFFFF#000000##FFFFFF
##643AA31.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#555269
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643aa3;
/* rgb */ color: rgb(100, 58, 163);
/* oklch */ color: oklch(45.5% 0.162 298.1);
Tailwind
colors: {
  custom: {
    50: '#9573bf',
    500: '#643aa3',
    950: '#000000',
  },
}
SCSS
$custom: #643aa3;
$custom-light: #9573bf;
$custom-dark: #000000;
JSON
{
  "hex": "#643aa3",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 264,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.16199,
    "h": 298.1
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#643AA3
secondary
#A3BD7C
accent
#D751A1
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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