#643E8A#643E8A

#643E8A is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.4% C 0.125 H 305.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#643E8A
RGBrgb(100, 62, 138)
HSLhsl(270, 38%, 39%)
HSVhsv(270, 55%, 54%)
CMYKcmyk(27.5%, 55.1%, 0%, 45.9%)
CIE-LABlab(33.96, 32.41, -36.28)
CIE-LCHlch(33.96, 48.65, 311.77°)
OKLaboklab(44.43% 0.0714 -0.1021)
OKLCHoklch(44.43% 0.125 305)
XYZxyz(11.5646, 7.9896, 24.9727)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E8A #648A3E
analogous
#3E3E8A #643E8A #8A3E8A
triadic
#643E8A #8A643E #3E8A64
tetradic
#643E8A #8A3E3E #648A3E #3E8A8A
square
#643E8A #8A3E3E #648A3E #3E8A8A
split-complementary
#643E8A #8A8A3E #3E8A3E
monochromatic
#271836 #452B60 #643E8A #8353B2 #A17EC5

Accessibility & contrast

On white

8.08
#643E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#643E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E8A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E8A#FFFFFF#000000##FFFFFF
##643E8A1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#5E4C5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643e8a;
/* rgb */ color: rgb(100, 62, 138);
/* oklch */ color: oklch(44.4% 0.125 305.0);
Tailwind
colors: {
  custom: {
    50: '#9275ac',
    500: '#643e8a',
    950: '#000000',
  },
}
SCSS
$custom: #643e8a;
$custom-light: #9275ac;
$custom-dark: #000000;
JSON
{
  "hex": "#643e8a",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 270,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44427,
    "c": 0.12456,
    "h": 305
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#643E8A
secondary
#92AF75
accent
#CE5A94
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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