#643AA5#643AA5

#643AA5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.164 H 297.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#643AA5
RGBrgb(100, 58, 165)
HSLhsl(264, 48%, 44%)
HSVhsv(264, 65%, 65%)
CMYKcmyk(39.4%, 64.8%, 0%, 35.3%)
CIE-LABlab(34.91, 41.83, -51.17)
CIE-LCHlch(34.91, 66.09, 309.26°)
OKLaboklab(45.7% 0.076 -0.1458)
OKLCHoklch(45.7% 0.164 297.5)
XYZxyz(13.5584, 8.4518, 36.5070)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AA5 #7BA53A
analogous
#3A45A5 #643AA5 #993AA5
triadic
#643AA5 #A5643A #3AA564
tetradic
#643AA5 #A53A45 #7BA53A #3AA599
square
#643AA5 #A53A45 #7BA53A #3AA599
split-complementary
#643AA5 #A5993A #45A53A
monochromatic
#2D1A4A #492A78 #643AA5 #8258C4 #A485D4

Accessibility & contrast

On white

7.81
#643AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#643AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AA5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AA5#FFFFFF#000000##FFFFFF
##643AA51.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#54526A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643aa5;
/* rgb */ color: rgb(100, 58, 165);
/* oklch */ color: oklch(45.7% 0.164 297.5);
Tailwind
colors: {
  custom: {
    50: '#9573c0',
    500: '#643aa5',
    950: '#000000',
  },
}
SCSS
$custom: #643aa5;
$custom-light: #9573c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643aa5",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 263.551,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45695,
    "c": 0.16443,
    "h": 297.5
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#643AA5
secondary
#A4BE7D
accent
#D850A2
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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