#643AB6#643AB6

#643AB6 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.185 H 293.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#643AB6
RGBrgb(100, 58, 182)
HSLhsl(260, 52%, 47%)
HSVhsv(260, 68%, 71%)
CMYKcmyk(45.1%, 68.1%, 0%, 28.6%)
CIE-LABlab(36.20, 46.46, -59.20)
CIE-LCHlch(36.20, 75.25, 308.12°)
OKLaboklab(47.03% 0.0739 -0.1694)
OKLCHoklch(47.03% 0.185 293.6)
XYZxyz(15.2098, 9.1124, 45.2044)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AB6 #8CB63A
analogous
#3A4EB6 #643AB6 #A23AB6
triadic
#643AB6 #B6643A #3AB664
tetradic
#643AB6 #B63A4E #8CB63A #3AB6A2
square
#643AB6 #B63A4E #8CB63A #3AB6A2
split-complementary
#643AB6 #B6A23A #4EB63A
monochromatic
#311C59 #4B2B88 #643AB6 #8561CD #A98FDB

Accessibility & contrast

On white

7.44
#643AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#643AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AB6
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AB6#FFFFFF#000000##FFFFFF
##643AB61.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#4C5873
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643ab6;
/* rgb */ color: rgb(100, 58, 182);
/* oklch */ color: oklch(47.0% 0.185 293.6);
Tailwind
colors: {
  custom: {
    50: '#9773cd',
    500: '#643ab6',
    950: '#000000',
  },
}
SCSS
$custom: #643ab6;
$custom-light: #9773cd;
$custom-dark: #000000;
JSON
{
  "hex": "#643ab6",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 260.323,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47032,
    "c": 0.18482,
    "h": 293.6
  },
  "luminance": 0.09113
}

Semantic roles & 50–950 ramp

primary
#643AB6
secondary
#B0C686
accent
#DB4DAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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