#643D7A#643D7A

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

Color values

HEX#643D7A
RGBrgb(100, 61, 122)
HSLhsl(278, 33%, 36%)
HSVhsv(278, 50%, 48%)
CMYKcmyk(18%, 50%, 0%, 52.2%)
CIE-LABlab(32.81, 29.02, -28.18)
CIE-LCHlch(32.81, 40.45, 315.84°)
OKLaboklab(43.28% 0.0712 -0.0785)
OKLCHoklch(43.28% 0.106 312.2)
XYZxyz(10.4365, 7.4522, 19.2972)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D7A #537A3D
analogous
#453D7A #643D7A #7A3D71
triadic
#643D7A #7A643D #3D7A64
tetradic
#643D7A #7A453D #537A3D #3D717A
square
#643D7A #7A453D #537A3D #3D717A
split-complementary
#643D7A #717A3D #3D7A45
monochromatic
#211428 #432951 #643D7A #8551A3 #A277BB

Accessibility & contrast

On white

8.43
#643D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643D7A
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D7A#FFFFFF#000000##FFFFFF
##643D7A1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#624756
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643d7a;
/* rgb */ color: rgb(100, 61, 122);
/* oklch */ color: oklch(43.3% 0.106 312.2);
Tailwind
colors: {
  custom: {
    50: '#9274a1',
    500: '#643d7a',
    950: '#000000',
  },
}
SCSS
$custom: #643d7a;
$custom-light: #9274a1;
$custom-dark: #000000;
JSON
{
  "hex": "#643d7a",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 278.361,
    "s": 33.333,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.10594,
    "h": 312.2
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#643D7A
secondary
#82A56E
accent
#C95E85
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #643D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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