#643B8A#643B8A

#643B8A is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.9% C 0.130 H 305.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#643B8A
RGBrgb(100, 59, 138)
HSLhsl(271, 40%, 39%)
HSVhsv(271, 57%, 54%)
CMYKcmyk(27.5%, 57.2%, 0%, 45.9%)
CIE-LABlab(33.29, 34.16, -37.35)
CIE-LCHlch(33.29, 50.62, 312.45°)
OKLaboklab(43.93% 0.0756 -0.1052)
OKLCHoklch(43.93% 0.13 305.7)
XYZxyz(11.4060, 7.6723, 24.9199)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B8A #618A3B
analogous
#3C3B8A #643B8A #8A3B88
triadic
#643B8A #8A643B #3B8A64
tetradic
#643B8A #8A3C3B #618A3B #3B888A
square
#643B8A #8A3C3B #618A3B #3B888A
split-complementary
#643B8A #888A3B #3B8A3C
monochromatic
#261634 #45295F #643B8A #834FB4 #A179C6

Accessibility & contrast

On white

8.29
#643B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#643B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B8A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B8A#FFFFFF#000000##FFFFFF
##643B8A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8D
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#5E4A5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643b8a;
/* rgb */ color: rgb(100, 59, 138);
/* oklch */ color: oklch(43.9% 0.130 305.7);
Tailwind
colors: {
  custom: {
    50: '#9373ac',
    500: '#643b8a',
    950: '#000000',
  },
}
SCSS
$custom: #643b8a;
$custom-light: #9373ac;
$custom-dark: #000000;
JSON
{
  "hex": "#643b8a",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 271.139,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.12954,
    "h": 305.7
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#643B8A
secondary
#8FAF71
accent
#D05892
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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