#643A87#643A87

#643A87 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.6% C 0.127 H 307.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#643A87
RGBrgb(100, 58, 135)
HSLhsl(273, 40%, 38%)
HSVhsv(273, 57%, 53%)
CMYKcmyk(25.9%, 57%, 0%, 47.1%)
CIE-LABlab(32.89, 33.98, -36.15)
CIE-LCHlch(32.89, 49.61, 313.23°)
OKLaboklab(43.58% 0.0768 -0.1017)
OKLCHoklch(43.58% 0.127 307.1)
XYZxyz(11.1409, 7.4848, 23.7748)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A87 #5D873A
analogous
#3D3A87 #643A87 #873A83
triadic
#643A87 #87643A #3A8764
tetradic
#643A87 #873D3A #5D873A #3A8387
square
#643A87 #873D3A #5D873A #3A8387
split-complementary
#643A87 #83873A #3A873D
monochromatic
#251531 #44285C #643A87 #844CB2 #A177C5

Accessibility & contrast

On white

8.41
#643A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#643A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A87
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A87#FFFFFF#000000##FFFFFF
##643A871.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#5F485B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643a87;
/* rgb */ color: rgb(100, 58, 135);
/* oklch */ color: oklch(43.6% 0.127 307.1);
Tailwind
colors: {
  custom: {
    50: '#9272aa',
    500: '#643a87',
    950: '#000000',
  },
}
SCSS
$custom: #643a87;
$custom-light: #9272aa;
$custom-dark: #000000;
JSON
{
  "hex": "#643a87",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 272.727,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43576,
    "c": 0.12745,
    "h": 307.1
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#643A87
secondary
#8CAE6F
accent
#D0588E
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643A87

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

Preview Lab → · Contrast checker → · Palette generator →

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