#643AB5#643AB5

#643AB5 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.184 H 293.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#643AB5
RGBrgb(100, 58, 181)
HSLhsl(260, 51%, 47%)
HSVhsv(260, 68%, 71%)
CMYKcmyk(44.8%, 68%, 0%, 29%)
CIE-LABlab(36.12, 46.18, -58.74)
CIE-LCHlch(36.12, 74.72, 308.18°)
OKLaboklab(46.95% 0.0741 -0.168)
OKLCHoklch(46.95% 0.184 293.8)
XYZxyz(15.1068, 9.0712, 44.6621)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AB5 #8BB53A
analogous
#3A4EB5 #643AB5 #A23AB5
triadic
#643AB5 #B5643A #3AB564
tetradic
#643AB5 #B53A4E #8BB53A #3AB5A2
square
#643AB5 #B53A4E #8BB53A #3AB5A2
split-complementary
#643AB5 #B5A23A #4EB53A
monochromatic
#311C58 #4A2B87 #643AB5 #8560CC #A98EDB

Accessibility & contrast

On white

7.46
#643AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#643AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AB5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AB5#FFFFFF#000000##FFFFFF
##643AB51.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#4D5873
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643ab5;
/* rgb */ color: rgb(100, 58, 181);
/* oklch */ color: oklch(46.9% 0.184 293.8);
Tailwind
colors: {
  custom: {
    50: '#9773cc',
    500: '#643ab5',
    950: '#000000',
  },
}
SCSS
$custom: #643ab5;
$custom-light: #9773cc;
$custom-dark: #000000;
JSON
{
  "hex": "#643ab5",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 260.488,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.18364,
    "h": 293.8
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#643AB5
secondary
#B0C685
accent
#DB4DAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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