#643A9D#643A9D

#643A9D is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.155 H 299.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#643A9D
RGBrgb(100, 58, 157)
HSLhsl(265, 46%, 42%)
HSVhsv(265, 63%, 62%)
CMYKcmyk(36.3%, 63.1%, 0%, 38.4%)
CIE-LABlab(34.33, 39.68, -47.28)
CIE-LCHlch(34.33, 61.73, 310.01°)
OKLaboklab(45.1% 0.0767 -0.1343)
OKLCHoklch(45.1% 0.155 299.7)
XYZxyz(12.8529, 8.1696, 32.7915)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A9D #739D3A
analogous
#3A419D #643A9D #963A9D
triadic
#643A9D #9D643A #3A9D64
tetradic
#643A9D #9D3A41 #739D3A #3A9D96
square
#643A9D #9D3A41 #739D3A #3A9D96
split-complementary
#643A9D #9D963A #419D3A
monochromatic
#2B1944 #482970 #643A9D #8254C0 #A381D0

Accessibility & contrast

On white

7.97
#643A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643A9D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A9D#FFFFFF#000000##FFFFFF
##643A9D1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#13509B
Tritanopia (blue-blind)
#584F66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643a9d;
/* rgb */ color: rgb(100, 58, 157);
/* oklch */ color: oklch(45.1% 0.155 299.7);
Tailwind
colors: {
  custom: {
    50: '#9472bb',
    500: '#643a9d',
    950: '#000000',
  },
}
SCSS
$custom: #643a9d;
$custom-light: #9472bb;
$custom-dark: #000000;
JSON
{
  "hex": "#643a9d",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 265.455,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45098,
    "c": 0.15467,
    "h": 299.7
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#643A9D
secondary
#9EBA79
accent
#D6529E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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