#643A9C#643A9C

#643A9C is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.153 H 300.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#643A9C
RGBrgb(100, 58, 156)
HSLhsl(266, 46%, 42%)
HSVhsv(266, 63%, 61%)
CMYKcmyk(35.9%, 62.8%, 0%, 38.8%)
CIE-LABlab(34.26, 39.42, -46.78)
CIE-LCHlch(34.26, 61.18, 310.12°)
OKLaboklab(45.03% 0.0767 -0.1329)
OKLCHoklch(45.03% 0.153 300)
XYZxyz(12.7679, 8.1356, 32.3437)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A9C #729C3A
analogous
#3A419C #643A9C #953A9C
triadic
#643A9C #9C643A #3A9C64
tetradic
#643A9C #9C3A41 #729C3A #3A9C95
square
#643A9C #9C3A41 #729C3A #3A9C95
split-complementary
#643A9C #9C953A #419C3A
monochromatic
#2B1943 #47296F #643A9C #8254BF #A380D0

Accessibility & contrast

On white

7.99
#643A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#643A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A9C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A9C#FFFFFF#000000##FFFFFF
##643A9C1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#15509A
Tritanopia (blue-blind)
#584F65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643a9c;
/* rgb */ color: rgb(100, 58, 156);
/* oklch */ color: oklch(45.0% 0.153 300.0);
Tailwind
colors: {
  custom: {
    50: '#9472ba',
    500: '#643a9c',
    950: '#000000',
  },
}
SCSS
$custom: #643a9c;
$custom-light: #9472ba;
$custom-dark: #000000;
JSON
{
  "hex": "#643a9c",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 265.714,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45025,
    "c": 0.15344,
    "h": 300
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#643A9C
secondary
#9EBA78
accent
#D5529D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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