#643C86#643C86

#643C86 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.8% C 0.123 H 307.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#643C86
RGBrgb(100, 60, 134)
HSLhsl(272, 38%, 38%)
HSVhsv(272, 55%, 53%)
CMYKcmyk(25.4%, 55.2%, 0%, 47.5%)
CIE-LABlab(33.27, 32.57, -34.92)
CIE-LCHlch(33.27, 47.75, 313.01°)
OKLaboklab(43.84% 0.074 -0.0981)
OKLCHoklch(43.84% 0.123 307)
XYZxyz(11.1736, 7.6624, 23.4400)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C86 #5E863C
analogous
#3F3C86 #643C86 #863C83
triadic
#643C86 #86643C #3C8664
tetradic
#643C86 #863F3C #5E863C #3C8386
square
#643C86 #863F3C #5E863C #3C8386
split-complementary
#643C86 #83863C #3C863F
monochromatic
#251631 #44295C #643C86 #844FB0 #A179C3

Accessibility & contrast

On white

8.29
#643C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#643C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C86
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C86#FFFFFF#000000##FFFFFF
##643C861.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D88
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#5F495B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643c86;
/* rgb */ color: rgb(100, 60, 134);
/* oklch */ color: oklch(43.8% 0.123 307.0);
Tailwind
colors: {
  custom: {
    50: '#9273aa',
    500: '#643c86',
    950: '#000000',
  },
}
SCSS
$custom: #643c86;
$custom-light: #9273aa;
$custom-dark: #000000;
JSON
{
  "hex": "#643c86",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 134
  },
  "hsl": {
    "h": 272.432,
    "s": 38.144,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.12284,
    "h": 307
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#643C86
secondary
#8CAD71
accent
#CE5A8F
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643C86

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

Preview Lab → · Contrast checker → · Palette generator →

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