#643E7A#643E7A

#643E7A is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.5% C 0.104 H 312.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#643E7A
RGBrgb(100, 62, 122)
HSLhsl(278, 33%, 36%)
HSVhsv(278, 49%, 48%)
CMYKcmyk(18%, 49.2%, 0%, 52.2%)
CIE-LABlab(33.05, 28.42, -27.81)
CIE-LCHlch(33.05, 39.76, 315.62°)
OKLaboklab(43.45% 0.0696 -0.0774)
OKLCHoklch(43.45% 0.104 312)
XYZxyz(10.4904, 7.5599, 19.3152)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E7A #547A3E
analogous
#463E7A #643E7A #7A3E72
triadic
#643E7A #7A643E #3E7A64
tetradic
#643E7A #7A463E #547A3E #3E727A
square
#643E7A #7A463E #547A3E #3E727A
split-complementary
#643E7A #727A3E #3E7A46
monochromatic
#211529 #432951 #643E7A #8553A3 #A278BA

Accessibility & contrast

On white

8.36
#643E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#643E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E7A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E7A#FFFFFF#000000##FFFFFF
##643E7A1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#3B4F78
Tritanopia (blue-blind)
#624756
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643e7a;
/* rgb */ color: rgb(100, 62, 122);
/* oklch */ color: oklch(43.5% 0.104 312.0);
Tailwind
colors: {
  custom: {
    50: '#9174a1',
    500: '#643e7a',
    950: '#000000',
  },
}
SCSS
$custom: #643e7a;
$custom-light: #9174a1;
$custom-dark: #000000;
JSON
{
  "hex": "#643e7a",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 278,
    "s": 32.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43454,
    "c": 0.10412,
    "h": 312
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#643E7A
secondary
#83A56F
accent
#C95F86
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #643E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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