#643A85#643A85

#643A85 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.4% C 0.125 H 307.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#643A85
RGBrgb(100, 58, 133)
HSLhsl(274, 39%, 37%)
HSVhsv(274, 56%, 52%)
CMYKcmyk(24.8%, 56.4%, 0%, 47.8%)
CIE-LABlab(32.76, 33.48, -35.10)
CIE-LCHlch(32.76, 48.51, 313.64°)
OKLaboklab(43.45% 0.0767 -0.0986)
OKLCHoklch(43.45% 0.125 307.9)
XYZxyz(11.0014, 7.4290, 23.0401)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A85 #5B853A
analogous
#3F3A85 #643A85 #853A81
triadic
#643A85 #85643A #3A8564
tetradic
#643A85 #853F3A #5B853A #3A8185
square
#643A85 #853F3A #5B853A #3A8185
split-complementary
#643A85 #81853A #3A853F
monochromatic
#241530 #44275A #643A85 #844DB0 #A176C3

Accessibility & contrast

On white

8.45
#643A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#643A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A85
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A85#FFFFFF#000000##FFFFFF
##643A851.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B87
Deuteranopia (green-blind)
#304E83
Tritanopia (blue-blind)
#5F485A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643a85;
/* rgb */ color: rgb(100, 58, 133);
/* oklch */ color: oklch(43.4% 0.125 307.9);
Tailwind
colors: {
  custom: {
    50: '#9272a9',
    500: '#643a85',
    950: '#000000',
  },
}
SCSS
$custom: #643a85;
$custom-light: #9272a9;
$custom-dark: #000000;
JSON
{
  "hex": "#643a85",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 273.6,
    "s": 39.267,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43447,
    "c": 0.12497,
    "h": 307.9
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#643A85
secondary
#8AAD6E
accent
#CF598D
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643A85

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

Preview Lab → · Contrast checker → · Palette generator →

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