#643C8D#643C8D

#643C8D is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.3% C 0.132 H 304.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#643C8D
RGBrgb(100, 60, 141)
HSLhsl(270, 40%, 39%)
HSVhsv(270, 57%, 55%)
CMYKcmyk(29.1%, 57.4%, 0%, 44.7%)
CIE-LABlab(33.70, 34.35, -38.55)
CIE-LCHlch(33.70, 51.63, 311.71°)
OKLaboklab(44.29% 0.0743 -0.1087)
OKLCHoklch(44.29% 0.132 304.4)
XYZxyz(11.6781, 7.8642, 26.0969)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C8D #658D3C
analogous
#3C3C8D #643C8D #8D3C8D
triadic
#643C8D #8D643C #3C8D64
tetradic
#643C8D #8D3C3C #658D3C #3C8D8D
square
#643C8D #8D3C3C #658D3C #3C8D8D
split-complementary
#643C8D #8D8D3C #3C8D3C
monochromatic
#271737 #462A62 #643C8D #8251B5 #A17CC7

Accessibility & contrast

On white

8.16
#643C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643C8D
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C8D#FFFFFF#000000##FFFFFF
##643C8D1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#5D4C5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643c8d;
/* rgb */ color: rgb(100, 60, 141);
/* oklch */ color: oklch(44.3% 0.132 304.4);
Tailwind
colors: {
  custom: {
    50: '#9373af',
    500: '#643c8d',
    950: '#000000',
  },
}
SCSS
$custom: #643c8d;
$custom-light: #9373af;
$custom-dark: #000000;
JSON
{
  "hex": "#643c8d",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 269.63,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44293,
    "c": 0.13168,
    "h": 304.4
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#643C8D
secondary
#93B174
accent
#D05895
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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