#643A8B#643A8B

#643A8B is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.8% C 0.132 H 305.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#643A8B
RGBrgb(100, 58, 139)
HSLhsl(271, 41%, 39%)
HSVhsv(271, 58%, 55%)
CMYKcmyk(28.1%, 58.3%, 0%, 45.5%)
CIE-LABlab(33.13, 34.99, -38.22)
CIE-LCHlch(33.13, 51.82, 312.48°)
OKLaboklab(43.84% 0.077 -0.1077)
OKLCHoklch(43.84% 0.132 305.5)
XYZxyz(11.4278, 7.5996, 25.2859)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A8B #618B3A
analogous
#3B3A8B #643A8B #8B3A89
triadic
#643A8B #8B643A #3A8B64
tetradic
#643A8B #8B3B3A #618B3A #3A898B
square
#643A8B #8B3B3A #618B3A #3A898B
split-complementary
#643A8B #898B3A #3A8B3B
monochromatic
#261635 #452860 #643A8B #834DB5 #A179C7

Accessibility & contrast

On white

8.33
#643A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#643A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A8B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A8B#FFFFFF#000000##FFFFFF
##643A8B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8E
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#5D495D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643a8b;
/* rgb */ color: rgb(100, 58, 139);
/* oklch */ color: oklch(43.8% 0.132 305.5);
Tailwind
colors: {
  custom: {
    50: '#9372ad',
    500: '#643a8b',
    950: '#000000',
  },
}
SCSS
$custom: #643a8b;
$custom-light: #9372ad;
$custom-dark: #000000;
JSON
{
  "hex": "#643a8b",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 271.111,
    "s": 41.117,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.13242,
    "h": 305.5
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#643A8B
secondary
#8FB071
accent
#D15792
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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