#643AAF#643AAF

#643AAF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.176 H 295.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#643AAF
RGBrgb(100, 58, 175)
HSLhsl(262, 50%, 46%)
HSVhsv(262, 67%, 69%)
CMYKcmyk(42.9%, 66.9%, 0%, 31.4%)
CIE-LABlab(35.66, 44.54, -55.93)
CIE-LCHlch(35.66, 71.50, 308.53°)
OKLaboklab(46.47% 0.0749 -0.1598)
OKLCHoklch(46.47% 0.176 295.1)
XYZxyz(14.5044, 8.8302, 41.4893)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AAF #85AF3A
analogous
#3A4BAF #643AAF #9E3AAF
triadic
#643AAF #AF643A #3AAF64
tetradic
#643AAF #AF3A4B #85AF3A #3AAF9E
square
#643AAF #AF3A4B #85AF3A #3AAF9E
split-complementary
#643AAF #AF9E3A #4BAF3A
monochromatic
#2F1C53 #4A2B81 #643AAF #845DC9 #A78BD9

Accessibility & contrast

On white

7.59
#643AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#643AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AAF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AAF#FFFFFF#000000##FFFFFF
##643AAF1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#50566F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643aaf;
/* rgb */ color: rgb(100, 58, 175);
/* oklch */ color: oklch(46.5% 0.176 295.1);
Tailwind
colors: {
  custom: {
    50: '#9673c8',
    500: '#643aaf',
    950: '#000000',
  },
}
SCSS
$custom: #643aaf;
$custom-light: #9673c8;
$custom-dark: #000000;
JSON
{
  "hex": "#643aaf",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 261.538,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4647,
    "c": 0.17648,
    "h": 295.1
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#643AAF
secondary
#ACC382
accent
#DA4EA8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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