#643D84#643D84

#643D84 is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.9% C 0.119 H 307.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#643D84
RGBrgb(100, 61, 132)
HSLhsl(273, 37%, 38%)
HSVhsv(273, 54%, 52%)
CMYKcmyk(24.2%, 53.8%, 0%, 48.2%)
CIE-LABlab(33.38, 31.48, -33.51)
CIE-LCHlch(33.38, 45.98, 313.21°)
OKLaboklab(43.88% 0.0723 -0.094)
OKLCHoklch(43.88% 0.119 307.6)
XYZxyz(11.0883, 7.7129, 22.7299)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D84 #5D843D
analogous
#403D84 #643D84 #843D80
triadic
#643D84 #84643D #3D8464
tetradic
#643D84 #84403D #5D843D #3D8084
square
#643D84 #84403D #5D843D #3D8084
split-complementary
#643D84 #80843D #3D8440
monochromatic
#251630 #442A5A #643D84 #8450AE #A17AC1

Accessibility & contrast

On white

8.26
#643D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#643D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D84
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D84#FFFFFF#000000##FFFFFF
##643D841.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D86
Deuteranopia (green-blind)
#344F82
Tritanopia (blue-blind)
#5F495A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643d84;
/* rgb */ color: rgb(100, 61, 132);
/* oklch */ color: oklch(43.9% 0.119 307.6);
Tailwind
colors: {
  custom: {
    50: '#9274a8',
    500: '#643d84',
    950: '#000000',
  },
}
SCSS
$custom: #643d84;
$custom-light: #9274a8;
$custom-dark: #000000;
JSON
{
  "hex": "#643d84",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 272.958,
    "s": 36.788,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4388,
    "c": 0.1186,
    "h": 307.6
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#643D84
secondary
#8CAB71
accent
#CD5B8E
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643D84

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

Preview Lab → · Contrast checker → · Palette generator →

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