#643D8A#643D8A

#643D8A is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.3% C 0.126 H 305.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#643D8A
RGBrgb(100, 61, 138)
HSLhsl(270, 39%, 39%)
HSVhsv(270, 56%, 54%)
CMYKcmyk(27.5%, 55.8%, 0%, 45.9%)
CIE-LABlab(33.74, 33.00, -36.64)
CIE-LCHlch(33.74, 49.31, 312.00°)
OKLaboklab(44.26% 0.0728 -0.1031)
OKLCHoklch(44.26% 0.126 305.2)
XYZxyz(11.5107, 7.8819, 24.9548)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D8A #638A3D
analogous
#3E3D8A #643D8A #8A3D8A
triadic
#643D8A #8A643D #3D8A64
tetradic
#643D8A #8A3E3D #638A3D #3D8A8A
square
#643D8A #8A3E3D #638A3D #3D8A8A
split-complementary
#643D8A #8A8A3D #3D8A3E
monochromatic
#261735 #452A60 #643D8A #8352B2 #A17CC5

Accessibility & contrast

On white

8.15
#643D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#643D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D8A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D8A#FFFFFF#000000##FFFFFF
##643D8A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8D
Deuteranopia (green-blind)
#304F88
Tritanopia (blue-blind)
#5E4B5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643d8a;
/* rgb */ color: rgb(100, 61, 138);
/* oklch */ color: oklch(44.3% 0.126 305.2);
Tailwind
colors: {
  custom: {
    50: '#9274ac',
    500: '#643d8a',
    950: '#000000',
  },
}
SCSS
$custom: #643d8a;
$custom-light: #9274ac;
$custom-dark: #000000;
JSON
{
  "hex": "#643d8a",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 270.39,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44261,
    "c": 0.12623,
    "h": 305.2
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#643D8A
secondary
#91AF74
accent
#CF5993
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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