#643C8C#643C8C

#643C8C is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.2% C 0.130 H 304.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#643C8C
RGBrgb(100, 60, 140)
HSLhsl(270, 40%, 39%)
HSVhsv(270, 57%, 55%)
CMYKcmyk(28.6%, 57.1%, 0%, 45.1%)
CIE-LABlab(33.64, 34.10, -38.03)
CIE-LCHlch(33.64, 51.08, 311.88°)
OKLaboklab(44.23% 0.0743 -0.1072)
OKLCHoklch(44.23% 0.13 304.7)
XYZxyz(11.6040, 7.8345, 25.7068)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C8C #648C3C
analogous
#3C3C8C #643C8C #8C3C8C
triadic
#643C8C #8C643C #3C8C64
tetradic
#643C8C #8C3C3C #648C3C #3C8C8C
square
#643C8C #8C3C3C #648C3C #3C8C8C
split-complementary
#643C8C #8C8C3C #3C8C3C
monochromatic
#271736 #452A61 #643C8C #8351B4 #A17CC7

Accessibility & contrast

On white

8.18
#643C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#643C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C8C
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C8C#FFFFFF#000000##FFFFFF
##643C8C1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#2D4F8A
Tritanopia (blue-blind)
#5D4B5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643c8c;
/* rgb */ color: rgb(100, 60, 140);
/* oklch */ color: oklch(44.2% 0.130 304.7);
Tailwind
colors: {
  custom: {
    50: '#9373ae',
    500: '#643c8c',
    950: '#000000',
  },
}
SCSS
$custom: #643c8c;
$custom-light: #9373ae;
$custom-dark: #000000;
JSON
{
  "hex": "#643c8c",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 270,
    "s": 40,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44227,
    "c": 0.13041,
    "h": 304.7
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#643C8C
secondary
#92B073
accent
#D05894
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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