#643C9B#643C9B

#643C9B is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.149 H 299.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#643C9B
RGBrgb(100, 60, 155)
HSLhsl(265, 44%, 42%)
HSVhsv(265, 61%, 61%)
CMYKcmyk(35.5%, 61.3%, 0%, 39.2%)
CIE-LABlab(34.62, 38.03, -45.61)
CIE-LCHlch(34.62, 59.38, 309.82°)
OKLaboklab(45.26% 0.0743 -0.1294)
OKLCHoklch(45.26% 0.149 299.8)
XYZxyz(12.7863, 8.3075, 31.9339)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C9B #739B3C
analogous
#3C449B #643C9B #943C9B
triadic
#643C9B #9B643C #3C9B64
tetradic
#643C9B #9B3C44 #739B3C #3C9B94
square
#643C9B #9B3C44 #739B3C #3C9B94
split-complementary
#643C9B #9B943C #449B3C
monochromatic
#2B1A43 #482B6F #643C9B #8256BE #A383CF

Accessibility & contrast

On white

7.89
#643C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#643C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C9B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C9B#FFFFFF#000000##FFFFFF
##643C9B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#1B5199
Tritanopia (blue-blind)
#585065
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643c9b;
/* rgb */ color: rgb(100, 60, 155);
/* oklch */ color: oklch(45.3% 0.149 299.8);
Tailwind
colors: {
  custom: {
    50: '#9474b9',
    500: '#643c9b',
    950: '#000000',
  },
}
SCSS
$custom: #643c9b;
$custom-light: #9474b9;
$custom-dark: #000000;
JSON
{
  "hex": "#643c9b",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 155
  },
  "hsl": {
    "h": 265.263,
    "s": 44.186,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45258,
    "c": 0.14924,
    "h": 299.8
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#643C9B
secondary
#9EB97A
accent
#D4549E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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