#643A7D#643A7D

#643A7D is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.9% C 0.115 H 311.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#643A7D
RGBrgb(100, 58, 125)
HSLhsl(278, 37%, 36%)
HSVhsv(278, 54%, 49%)
CMYKcmyk(20%, 53.6%, 0%, 51%)
CIE-LABlab(32.29, 31.52, -30.88)
CIE-LCHlch(32.29, 44.12, 315.59°)
OKLaboklab(42.95% 0.0761 -0.0863)
OKLCHoklch(42.95% 0.115 311.4)
XYZxyz(10.4696, 7.2163, 20.2394)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A7D #537D3A
analogous
#423A7D #643A7D #7D3A74
triadic
#643A7D #7D643A #3A7D64
tetradic
#643A7D #7D423A #537D3A #3A747D
square
#643A7D #7D423A #537D3A #3A747D
split-complementary
#643A7D #747D3A #3A7D42
monochromatic
#211329 #432753 #643A7D #854DA7 #A273BE

Accessibility & contrast

On white

8.60
#643A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#643A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A7D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A7D#FFFFFF#000000##FFFFFF
##643A7D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#364D7B
Tritanopia (blue-blind)
#614556
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643a7d;
/* rgb */ color: rgb(100, 58, 125);
/* oklch */ color: oklch(42.9% 0.115 311.4);
Tailwind
colors: {
  custom: {
    50: '#9272a3',
    500: '#643a7d',
    950: '#000000',
  },
}
SCSS
$custom: #643a7d;
$custom-light: #9272a3;
$custom-dark: #000000;
JSON
{
  "hex": "#643a7d",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 277.612,
    "s": 36.612,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42948,
    "c": 0.11505,
    "h": 311.4
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#643A7D
secondary
#82A86B
accent
#CD5B86
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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