#643E8B#643E8B

#643E8B is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.5% C 0.126 H 304.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#643E8B
RGBrgb(100, 62, 139)
HSLhsl(270, 38%, 39%)
HSVhsv(270, 55%, 55%)
CMYKcmyk(28.1%, 55.4%, 0%, 45.5%)
CIE-LABlab(34.02, 32.67, -36.80)
CIE-LCHlch(34.02, 49.21, 311.59°)
OKLaboklab(44.49% 0.0714 -0.1036)
OKLCHoklch(44.49% 0.126 304.6)
XYZxyz(11.6373, 8.0187, 25.3558)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E8B #658B3E
analogous
#3E3F8B #643E8B #8A3E8B
triadic
#643E8B #8B643E #3E8B64
tetradic
#643E8B #8B3E3F #658B3E #3E8B8A
square
#643E8B #8B3E3F #658B3E #3E8B8A
split-complementary
#643E8B #8B8A3E #3F8B3E
monochromatic
#271836 #462B61 #643E8B #8254B3 #A17EC5

Accessibility & contrast

On white

8.07
#643E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643E8B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E8B#FFFFFF#000000##FFFFFF
##643E8B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#305089
Tritanopia (blue-blind)
#5D4C5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643e8b;
/* rgb */ color: rgb(100, 62, 139);
/* oklch */ color: oklch(44.5% 0.126 304.6);
Tailwind
colors: {
  custom: {
    50: '#9375ad',
    500: '#643e8b',
    950: '#000000',
  },
}
SCSS
$custom: #643e8b;
$custom-light: #9375ad;
$custom-dark: #000000;
JSON
{
  "hex": "#643e8b",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 269.61,
    "s": 38.308,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.12584,
    "h": 304.6
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#643E8B
secondary
#93B075
accent
#CE5A95
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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