#643AA6#643AA6

#643AA6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.166 H 297.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#643AA6
RGBrgb(100, 58, 166)
HSLhsl(263, 48%, 44%)
HSVhsv(263, 65%, 65%)
CMYKcmyk(39.8%, 65.1%, 0%, 34.9%)
CIE-LABlab(34.98, 42.10, -51.65)
CIE-LCHlch(34.98, 66.64, 309.18°)
OKLaboklab(45.77% 0.0759 -0.1472)
OKLCHoklch(45.77% 0.166 297.3)
XYZxyz(13.6498, 8.4884, 36.9883)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AA6 #7CA63A
analogous
#3A46A6 #643AA6 #9A3AA6
triadic
#643AA6 #A6643A #3AA664
tetradic
#643AA6 #A63A46 #7CA63A #3AA69A
square
#643AA6 #A63A46 #7CA63A #3AA69A
split-complementary
#643AA6 #A69A3A #46A63A
monochromatic
#2D1A4B #492A79 #643AA6 #8358C5 #A486D5

Accessibility & contrast

On white

7.78
#643AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#643AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AA6
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AA6#FFFFFF#000000##FFFFFF
##643AA61.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#54536B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643aa6;
/* rgb */ color: rgb(100, 58, 166);
/* oklch */ color: oklch(45.8% 0.166 297.3);
Tailwind
colors: {
  custom: {
    50: '#9573c1',
    500: '#643aa6',
    950: '#000000',
  },
}
SCSS
$custom: #643aa6;
$custom-light: #9573c1;
$custom-dark: #000000;
JSON
{
  "hex": "#643aa6",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 263.333,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.16563,
    "h": 297.3
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#643AA6
secondary
#A5BF7D
accent
#D850A3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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