#643A8A#643A8A

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

Color values

HEX#643A8A
RGBrgb(100, 58, 138)
HSLhsl(272, 41%, 38%)
HSVhsv(272, 58%, 54%)
CMYKcmyk(27.5%, 58%, 0%, 45.9%)
CIE-LABlab(33.07, 34.74, -37.70)
CIE-LCHlch(33.07, 51.27, 312.66°)
OKLaboklab(43.77% 0.077 -0.1062)
OKLCHoklch(43.77% 0.131 305.9)
XYZxyz(11.3551, 7.5705, 24.9029)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A8A #608A3A
analogous
#3C3A8A #643A8A #8A3A88
triadic
#643A8A #8A643A #3A8A64
tetradic
#643A8A #8A3C3A #608A3A #3A888A
square
#643A8A #8A3C3A #608A3A #3A888A
split-complementary
#643A8A #888A3A #3A8A3C
monochromatic
#261634 #45285F #643A8A #834DB4 #A178C6

Accessibility & contrast

On white

8.35
#643A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#643A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A8A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A8A#FFFFFF#000000##FFFFFF
##643A8A1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8D
Deuteranopia (green-blind)
#2C4E88
Tritanopia (blue-blind)
#5E495C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643a8a;
/* rgb */ color: rgb(100, 58, 138);
/* oklch */ color: oklch(43.8% 0.131 305.9);
Tailwind
colors: {
  custom: {
    50: '#9372ad',
    500: '#643a8a',
    950: '#000000',
  },
}
SCSS
$custom: #643a8a;
$custom-light: #9372ad;
$custom-dark: #000000;
JSON
{
  "hex": "#643a8a",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 271.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43772,
    "c": 0.13118,
    "h": 305.9
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#643A8A
secondary
#8EB070
accent
#D15791
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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