#643E78#643E78

#643E78 is a dark, moderate violet. Relative luminance 0.075; OKLCH L 43.3% C 0.102 H 313.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#643E78
RGBrgb(100, 62, 120)
HSLhsl(279, 32%, 36%)
HSVhsv(279, 48%, 47%)
CMYKcmyk(16.7%, 48.3%, 0%, 52.9%)
CIE-LABlab(32.94, 27.94, -26.73)
CIE-LCHlch(32.94, 38.66, 316.27°)
OKLaboklab(43.34% 0.0693 -0.0743)
OKLCHoklch(43.34% 0.102 313)
XYZxyz(10.3677, 7.5109, 18.6692)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E78 #52783E
analogous
#473E78 #643E78 #783E6F
triadic
#643E78 #78643E #3E7864
tetradic
#643E78 #78473E #52783E #3E6F78
square
#643E78 #78473E #52783E #3E6F78
split-complementary
#643E78 #6F783E #3E7847
monochromatic
#211427 #422950 #643E78 #8653A0 #A277B9

Accessibility & contrast

On white

8.39
#643E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#643E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E78
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E78#FFFFFF#000000##FFFFFF
##643E781.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B7A
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#624755
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643e78;
/* rgb */ color: rgb(100, 62, 120);
/* oklch */ color: oklch(43.3% 0.102 313.0);
Tailwind
colors: {
  custom: {
    50: '#91749f',
    500: '#643e78',
    950: '#000000',
  },
}
SCSS
$custom: #643e78;
$custom-light: #91749f;
$custom-dark: #000000;
JSON
{
  "hex": "#643e78",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 120
  },
  "hsl": {
    "h": 279.31,
    "s": 31.868,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4334,
    "c": 0.10159,
    "h": 313
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#643E78
secondary
#81A36F
accent
#C86084
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643E78

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

Preview Lab → · Contrast checker → · Palette generator →

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