#643A7E#643A7E

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

Color values

HEX#643A7E
RGBrgb(100, 58, 126)
HSLhsl(277, 37%, 36%)
HSVhsv(277, 54%, 49%)
CMYKcmyk(20.6%, 54%, 0%, 50.6%)
CIE-LABlab(32.35, 31.76, -31.41)
CIE-LCHlch(32.35, 44.67, 315.32°)
OKLaboklab(43.01% 0.0762 -0.0878)
OKLCHoklch(43.01% 0.116 310.9)
XYZxyz(10.5338, 7.2420, 20.5776)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A7E #547E3A
analogous
#423A7E #643A7E #7E3A76
triadic
#643A7E #7E643A #3A7E64
tetradic
#643A7E #7E423A #547E3A #3A767E
square
#643A7E #7E423A #547E3A #3A767E
split-complementary
#643A7E #767E3A #3A7E42
monochromatic
#21132A #432754 #643A7E #854DA8 #A274BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##643A7E#FFFFFF#000000##FFFFFF
##643A7E1.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)
#284A80
Deuteranopia (green-blind)
#354D7C
Tritanopia (blue-blind)
#614556
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643a7e;
/* rgb */ color: rgb(100, 58, 126);
/* oklch */ color: oklch(43.0% 0.116 310.9);
Tailwind
colors: {
  custom: {
    50: '#9272a4',
    500: '#643a7e',
    950: '#000000',
  },
}
SCSS
$custom: #643a7e;
$custom-light: #9272a4;
$custom-dark: #000000;
JSON
{
  "hex": "#643a7e",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 277.059,
    "s": 36.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.11629,
    "h": 310.9
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#643A7E
secondary
#83A86C
accent
#CD5B86
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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