#643AB9#643AB9

#643AB9 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.188 H 292.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#643AB9
RGBrgb(100, 58, 185)
HSLhsl(260, 52%, 48%)
HSVhsv(260, 69%, 73%)
CMYKcmyk(45.9%, 68.6%, 0%, 27.5%)
CIE-LABlab(36.44, 47.28, -60.58)
CIE-LCHlch(36.44, 76.85, 307.97°)
OKLaboklab(47.28% 0.0735 -0.1735)
OKLCHoklch(47.28% 0.188 292.9)
XYZxyz(15.5231, 9.2377, 46.8547)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AB9 #8FB93A
analogous
#3A4FB9 #643AB9 #A43AB9
triadic
#643AB9 #B9643A #3AB964
tetradic
#643AB9 #B93A4F #8FB93A #3AB9A4
square
#643AB9 #B93A4F #8FB93A #3AB9A4
split-complementary
#643AB9 #B9A43A #4FB93A
monochromatic
#321D5C #4B2B8A #643AB9 #8662CE #AA91DC

Accessibility & contrast

On white

7.37
#643AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#643AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AB9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AB9#FFFFFF#000000##FFFFFF
##643AB91.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#4B5975
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643ab9;
/* rgb */ color: rgb(100, 58, 185);
/* oklch */ color: oklch(47.3% 0.188 292.9);
Tailwind
colors: {
  custom: {
    50: '#9773cf',
    500: '#643ab9',
    950: '#000000',
  },
}
SCSS
$custom: #643ab9;
$custom-light: #9773cf;
$custom-dark: #000000;
JSON
{
  "hex": "#643ab9",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 259.843,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47276,
    "c": 0.18837,
    "h": 292.9
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#643AB9
secondary
#B2C787
accent
#DC4CAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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