#643B81#643B81

#643B81 is a dark, moderate violet. Relative luminance 0.074; OKLCH L 43.4% C 0.118 H 309.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#643B81
RGBrgb(100, 59, 129)
HSLhsl(275, 37%, 37%)
HSVhsv(275, 54%, 51%)
CMYKcmyk(22.5%, 54.3%, 0%, 49.4%)
CIE-LABlab(32.75, 31.91, -32.65)
CIE-LCHlch(32.75, 45.65, 314.35°)
OKLaboklab(43.36% 0.075 -0.0914)
OKLCHoklch(43.36% 0.118 309.4)
XYZxyz(10.7812, 7.4224, 21.6293)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B81 #58813B
analogous
#413B81 #643B81 #813B7B
triadic
#643B81 #81643B #3B8164
tetradic
#643B81 #81413B #58813B #3B7B81
square
#643B81 #81413B #58813B #3B7B81
split-complementary
#643B81 #7B813B #3B8141
monochromatic
#23152D #432857 #643B81 #854EAB #A276C0

Accessibility & contrast

On white

8.45
#643B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#643B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B81
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B81#FFFFFF#000000##FFFFFF
##643B811.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#344E7F
Tritanopia (blue-blind)
#604758
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643b81;
/* rgb */ color: rgb(100, 59, 129);
/* oklch */ color: oklch(43.4% 0.118 309.4);
Tailwind
colors: {
  custom: {
    50: '#9272a6',
    500: '#643b81',
    950: '#000000',
  },
}
SCSS
$custom: #643b81;
$custom-light: #9272a6;
$custom-dark: #000000;
JSON
{
  "hex": "#643b81",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 129
  },
  "hsl": {
    "h": 275.143,
    "s": 37.234,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43359,
    "c": 0.11827,
    "h": 309.4
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#643B81
secondary
#87AA6E
accent
#CD5B8A
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643B81

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

Preview Lab → · Contrast checker → · Palette generator →

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