#643B79#643B79

#643B79 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.9% C 0.108 H 313.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#643B79
RGBrgb(100, 59, 121)
HSLhsl(280, 34%, 35%)
HSVhsv(280, 51%, 47%)
CMYKcmyk(17.4%, 51.2%, 0%, 52.5%)
CIE-LABlab(32.30, 29.97, -28.37)
CIE-LCHlch(32.30, 41.26, 316.57°)
OKLaboklab(42.88% 0.0741 -0.079)
OKLCHoklch(42.88% 0.108 313.2)
XYZxyz(10.2701, 7.2180, 18.9376)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B79 #50793B
analogous
#453B79 #643B79 #793B6F
triadic
#643B79 #79643B #3B7964
tetradic
#643B79 #79453B #50793B #3B6F79
square
#643B79 #79453B #50793B #3B6F79
split-complementary
#643B79 #6F793B #3B7945
monochromatic
#201327 #422750 #643B79 #864FA2 #A373BB

Accessibility & contrast

On white

8.59
#643B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#643B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B79
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B79#FFFFFF#000000##FFFFFF
##643B791.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#624554
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643b79;
/* rgb */ color: rgb(100, 59, 121);
/* oklch */ color: oklch(42.9% 0.108 313.2);
Tailwind
colors: {
  custom: {
    50: '#9272a0',
    500: '#643b79',
    950: '#000000',
  },
}
SCSS
$custom: #643b79;
$custom-light: #9272a0;
$custom-dark: #000000;
JSON
{
  "hex": "#643b79",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 279.677,
    "s": 34.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42878,
    "c": 0.10832,
    "h": 313.2
  },
  "luminance": 0.07218
}

Semantic roles & 50–950 ramp

primary
#643B79
secondary
#7FA56B
accent
#CB5D82
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643B79

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

Preview Lab → · Contrast checker → · Palette generator →

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