#643A7A#643A7A

#643A7A is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.8% C 0.111 H 312.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#643A7A
RGBrgb(100, 58, 122)
HSLhsl(279, 36%, 35%)
HSVhsv(279, 52%, 48%)
CMYKcmyk(18%, 52.5%, 0%, 52.2%)
CIE-LABlab(32.13, 30.80, -29.27)
CIE-LCHlch(32.13, 42.48, 316.46°)
OKLaboklab(42.77% 0.0758 -0.0816)
OKLCHoklch(42.77% 0.111 312.9)
XYZxyz(10.2808, 7.1408, 19.2453)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A7A #507A3A
analogous
#443A7A #643A7A #7A3A70
triadic
#643A7A #7A643A #3A7A64
tetradic
#643A7A #7A443A #507A3A #3A707A
square
#643A7A #7A443A #507A3A #3A707A
split-complementary
#643A7A #707A3A #3A7A44
monochromatic
#201327 #422651 #643A7A #864EA3 #A372BC

Accessibility & contrast

On white

8.65
#643A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643A7A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A7A#FFFFFF#000000##FFFFFF
##643A7A1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497C
Deuteranopia (green-blind)
#374D78
Tritanopia (blue-blind)
#624454
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643a7a;
/* rgb */ color: rgb(100, 58, 122);
/* oklch */ color: oklch(42.8% 0.111 312.9);
Tailwind
colors: {
  custom: {
    50: '#9272a1',
    500: '#643a7a',
    950: '#000000',
  },
}
SCSS
$custom: #643a7a;
$custom-light: #9272a1;
$custom-dark: #000000;
JSON
{
  "hex": "#643a7a",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 279.375,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42768,
    "c": 0.11135,
    "h": 312.9
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#643A7A
secondary
#7FA66A
accent
#CC5C82
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #643A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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