#643F84#643F84

#643F84 is a dark, moderate violet. Relative luminance 0.079; OKLCH L 44.2% C 0.115 H 307.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#643F84
RGBrgb(100, 63, 132)
HSLhsl(272, 35%, 38%)
HSVhsv(272, 52%, 52%)
CMYKcmyk(24.2%, 52.3%, 0%, 48.2%)
CIE-LABlab(33.84, 30.29, -32.78)
CIE-LCHlch(33.84, 44.63, 312.74°)
OKLaboklab(44.22% 0.0694 -0.0919)
OKLCHoklch(44.22% 0.115 307.1)
XYZxyz(11.1971, 7.9304, 22.7662)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F84 #5F843F
analogous
#413F84 #643F84 #843F81
triadic
#643F84 #84643F #3F8464
tetradic
#643F84 #84413F #5F843F #3F8184
square
#643F84 #84413F #5F843F #3F8184
split-complementary
#643F84 #81843F #3F8441
monochromatic
#251731 #452B5B #643F84 #8353AD #A17DC1

Accessibility & contrast

On white

8.12
#643F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#643F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F84
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F84#FFFFFF#000000##FFFFFF
##643F841.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E86
Deuteranopia (green-blind)
#365082
Tritanopia (blue-blind)
#5F4B5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643f84;
/* rgb */ color: rgb(100, 63, 132);
/* oklch */ color: oklch(44.2% 0.115 307.1);
Tailwind
colors: {
  custom: {
    50: '#9275a8',
    500: '#643f84',
    950: '#000000',
  },
}
SCSS
$custom: #643f84;
$custom-light: #9275a8;
$custom-dark: #000000;
JSON
{
  "hex": "#643f84",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 272.174,
    "s": 35.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44221,
    "c": 0.11513,
    "h": 307.1
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#643F84
secondary
#8DAB74
accent
#CB5C90
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643F84

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

Preview Lab → · Contrast checker → · Palette generator →

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