#643D86#643D86

#643D86 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.0% C 0.121 H 306.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#643D86
RGBrgb(100, 61, 134)
HSLhsl(272, 37%, 38%)
HSVhsv(272, 54%, 53%)
CMYKcmyk(25.4%, 54.5%, 0%, 47.5%)
CIE-LABlab(33.50, 31.98, -34.56)
CIE-LCHlch(33.50, 47.09, 312.78°)
OKLaboklab(44.01% 0.0725 -0.097)
OKLCHoklch(44.01% 0.121 306.8)
XYZxyz(11.2265, 7.7682, 23.4576)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D86 #5F863D
analogous
#3F3D86 #643D86 #863D83
triadic
#643D86 #86643D #3D8664
tetradic
#643D86 #863F3D #5F863D #3D8386
square
#643D86 #863F3D #5F863D #3D8386
split-complementary
#643D86 #83863D #3D863F
monochromatic
#251732 #452A5C #643D86 #8351B0 #A17BC3

Accessibility & contrast

On white

8.22
#643D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#643D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D86
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D86#FFFFFF#000000##FFFFFF
##643D861.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#5F4A5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643d86;
/* rgb */ color: rgb(100, 61, 134);
/* oklch */ color: oklch(44.0% 0.121 306.8);
Tailwind
colors: {
  custom: {
    50: '#9274a9',
    500: '#643d86',
    950: '#000000',
  },
}
SCSS
$custom: #643d86;
$custom-light: #9274a9;
$custom-dark: #000000;
JSON
{
  "hex": "#643d86",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 272.055,
    "s": 37.436,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44006,
    "c": 0.12115,
    "h": 306.8
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#643D86
secondary
#8DAD72
accent
#CD5A90
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643D86

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

Preview Lab → · Contrast checker → · Palette generator →

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