#643B7A#643B7A

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

Color values

HEX#643B7A
RGBrgb(100, 59, 122)
HSLhsl(279, 35%, 35%)
HSVhsv(279, 52%, 48%)
CMYKcmyk(18%, 51.6%, 0%, 52.2%)
CIE-LABlab(32.35, 30.21, -28.91)
CIE-LCHlch(32.35, 41.81, 316.26°)
OKLaboklab(42.94% 0.0742 -0.0806)
OKLCHoklch(42.94% 0.11 312.7)
XYZxyz(10.3317, 7.2426, 19.2623)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B7A #517A3B
analogous
#443B7A #643B7A #7A3B70
triadic
#643B7A #7A643B #3B7A64
tetradic
#643B7A #7A443B #517A3B #3B707A
square
#643B7A #7A443B #517A3B #3B707A
split-complementary
#643B7A #707A3B #3B7A44
monochromatic
#201327 #422751 #643B7A #864FA3 #A374BC

Accessibility & contrast

On white

8.58
#643B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#643B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B7A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B7A#FFFFFF#000000##FFFFFF
##643B7A1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#384D78
Tritanopia (blue-blind)
#624555
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643b7a;
/* rgb */ color: rgb(100, 59, 122);
/* oklch */ color: oklch(42.9% 0.110 312.7);
Tailwind
colors: {
  custom: {
    50: '#9272a1',
    500: '#643b7a',
    950: '#000000',
  },
}
SCSS
$custom: #643b7a;
$custom-light: #9272a1;
$custom-dark: #000000;
JSON
{
  "hex": "#643b7a",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 122
  },
  "hsl": {
    "h": 279.048,
    "s": 34.807,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42937,
    "c": 0.10956,
    "h": 312.7
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#643B7A
secondary
#80A56C
accent
#CB5D83
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #643B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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