#643A79#643A79

#643A79 is a dark, moderate purple. Relative luminance 0.071; OKLCH L 42.7% C 0.110 H 313.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#643A79
RGBrgb(100, 58, 121)
HSLhsl(280, 35%, 35%)
HSVhsv(280, 52%, 47%)
CMYKcmyk(17.4%, 52.1%, 0%, 52.5%)
CIE-LABlab(32.07, 30.56, -28.73)
CIE-LCHlch(32.07, 41.94, 316.77°)
OKLaboklab(42.71% 0.0756 -0.08)
OKLCHoklch(42.71% 0.11 313.4)
XYZxyz(10.2192, 7.1162, 18.9207)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A79 #4F793A
analogous
#443A79 #643A79 #793A6F
triadic
#643A79 #79643A #3A7964
tetradic
#643A79 #79443A #4F793A #3A6F79
square
#643A79 #79443A #4F793A #3A6F79
split-complementary
#643A79 #6F793A #3A7944
monochromatic
#201226 #422650 #643A79 #864EA2 #A372BB

Accessibility & contrast

On white

8.67
#643A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#643A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A79
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A79#FFFFFF#000000##FFFFFF
##643A791.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#624454
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #643a79;
/* rgb */ color: rgb(100, 58, 121);
/* oklch */ color: oklch(42.7% 0.110 313.4);
Tailwind
colors: {
  custom: {
    50: '#9272a0',
    500: '#643a79',
    950: '#000000',
  },
}
SCSS
$custom: #643a79;
$custom-light: #9272a0;
$custom-dark: #000000;
JSON
{
  "hex": "#643a79",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 280,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42709,
    "c": 0.11013,
    "h": 313.4
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#643A79
secondary
#7EA56A
accent
#CB5D81
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643A79

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

Preview Lab → · Contrast checker → · Palette generator →

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