#643D79#643D79

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

Color values

HEX#643D79
RGBrgb(100, 61, 121)
HSLhsl(279, 33%, 36%)
HSVhsv(279, 50%, 47%)
CMYKcmyk(17.4%, 49.6%, 0%, 52.5%)
CIE-LABlab(32.76, 28.78, -27.64)
CIE-LCHlch(32.76, 39.90, 316.16°)
OKLaboklab(43.22% 0.071 -0.0769)
OKLCHoklch(43.22% 0.105 312.7)
XYZxyz(10.3749, 7.4275, 18.9726)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D79 #52793D
analogous
#463D79 #643D79 #793D70
triadic
#643D79 #79643D #3D7964
tetradic
#643D79 #79463D #52793D #3D7079
square
#643D79 #79463D #52793D #3D7079
split-complementary
#643D79 #70793D #3D7946
monochromatic
#211428 #422850 #643D79 #8652A2 #A276BA

Accessibility & contrast

On white

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

On black

2.49
#643D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##643D79#FFFFFF#000000##FFFFFF
##643D791.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#624655
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643d79;
/* rgb */ color: rgb(100, 61, 121);
/* oklch */ color: oklch(43.2% 0.105 312.7);
Tailwind
colors: {
  custom: {
    50: '#9174a0',
    500: '#643d79',
    950: '#000000',
  },
}
SCSS
$custom: #643d79;
$custom-light: #9174a0;
$custom-dark: #000000;
JSON
{
  "hex": "#643d79",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 279,
    "s": 32.967,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43222,
    "c": 0.10468,
    "h": 312.7
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#643D79
secondary
#81A46E
accent
#C95F84
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643D79

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

Preview Lab → · Contrast checker → · Palette generator →

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