#643E81#643E81

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

Color values

HEX#643E81
RGBrgb(100, 62, 129)
HSLhsl(274, 35%, 37%)
HSVhsv(274, 52%, 51%)
CMYKcmyk(22.5%, 51.9%, 0%, 49.4%)
CIE-LABlab(33.43, 30.14, -31.56)
CIE-LCHlch(33.43, 43.64, 313.68°)
OKLaboklab(43.87% 0.0706 -0.0883)
OKLCHoklch(43.87% 0.113 308.6)
XYZxyz(10.9398, 7.7397, 21.6822)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E81 #5B813E
analogous
#423E81 #643E81 #813E7D
triadic
#643E81 #81643E #3E8164
tetradic
#643E81 #81423E #5B813E #3E7D81
square
#643E81 #81423E #5B813E #3E7D81
split-complementary
#643E81 #7D813E #3E8142
monochromatic
#24162E #442A58 #643E81 #8452AA #A17ABF

Accessibility & contrast

On white

8.24
#643E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#643E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E81
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E81#FFFFFF#000000##FFFFFF
##643E811.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D83
Deuteranopia (green-blind)
#374F7F
Tritanopia (blue-blind)
#604959
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643e81;
/* rgb */ color: rgb(100, 62, 129);
/* oklch */ color: oklch(43.9% 0.113 308.6);
Tailwind
colors: {
  custom: {
    50: '#9274a6',
    500: '#643e81',
    950: '#000000',
  },
}
SCSS
$custom: #643e81;
$custom-light: #9274a6;
$custom-dark: #000000;
JSON
{
  "hex": "#643e81",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 129
  },
  "hsl": {
    "h": 274.03,
    "s": 35.079,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43867,
    "c": 0.11303,
    "h": 308.6
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#643E81
secondary
#8AA972
accent
#CB5D8C
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643E81

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

Preview Lab → · Contrast checker → · Palette generator →

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