#643A7B#643A7B

#643A7B is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.8% C 0.113 H 312.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#643A7B
RGBrgb(100, 58, 123)
HSLhsl(279, 36%, 35%)
HSVhsv(279, 53%, 48%)
CMYKcmyk(18.7%, 52.8%, 0%, 51.8%)
CIE-LABlab(32.18, 31.03, -29.80)
CIE-LCHlch(32.18, 43.03, 316.16°)
OKLaboklab(42.83% 0.0759 -0.0832)
OKLCHoklch(42.83% 0.113 312.4)
XYZxyz(10.3431, 7.1657, 19.5733)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A7B #517B3A
analogous
#433A7B #643A7B #7B3A71
triadic
#643A7B #7B643A #3A7B64
tetradic
#643A7B #7B433A #517B3A #3A717B
square
#643A7B #7B433A #517B3A #3A717B
split-complementary
#643A7B #717B3A #3A7B43
monochromatic
#201328 #422651 #643A7B #864EA5 #A373BD

Accessibility & contrast

On white

8.63
#643A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#643A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A7B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A7B#FFFFFF#000000##FFFFFF
##643A7B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497D
Deuteranopia (green-blind)
#374D79
Tritanopia (blue-blind)
#624455
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643a7b;
/* rgb */ color: rgb(100, 58, 123);
/* oklch */ color: oklch(42.8% 0.113 312.4);
Tailwind
colors: {
  custom: {
    50: '#9272a1',
    500: '#643a7b',
    950: '#000000',
  },
}
SCSS
$custom: #643a7b;
$custom-light: #9272a1;
$custom-dark: #000000;
JSON
{
  "hex": "#643a7b",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 278.769,
    "s": 35.912,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.11258,
    "h": 312.4
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#643A7B
secondary
#80A66B
accent
#CC5C84
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #643A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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