#643AA4#643AA4

#643AA4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.163 H 297.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#643AA4
RGBrgb(100, 58, 164)
HSLhsl(264, 48%, 44%)
HSVhsv(264, 65%, 64%)
CMYKcmyk(39%, 64.6%, 0%, 35.7%)
CIE-LABlab(34.83, 41.56, -50.69)
CIE-LCHlch(34.83, 65.55, 309.35°)
OKLaboklab(45.62% 0.0761 -0.1444)
OKLCHoklch(45.62% 0.163 297.8)
XYZxyz(13.4677, 8.4156, 36.0296)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AA4 #7AA43A
analogous
#3A45A4 #643AA4 #993AA4
triadic
#643AA4 #A4643A #3AA464
tetradic
#643AA4 #A43A45 #7AA43A #3AA499
square
#643AA4 #A43A45 #7AA43A #3AA499
split-complementary
#643AA4 #A4993A #45A43A
monochromatic
#2D1A4A #482A77 #643AA4 #8257C4 #A485D4

Accessibility & contrast

On white

7.83
#643AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643AA4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AA4#FFFFFF#000000##FFFFFF
##643AA41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643aa4;
/* rgb */ color: rgb(100, 58, 164);
/* oklch */ color: oklch(45.6% 0.163 297.8);
Tailwind
colors: {
  custom: {
    50: '#9573c0',
    500: '#643aa4',
    950: '#000000',
  },
}
SCSS
$custom: #643aa4;
$custom-light: #9573c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643aa4",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 263.774,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.16321,
    "h": 297.8
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#643AA4
secondary
#A4BE7C
accent
#D750A2
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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