#643A9A#643A9A

#643A9A is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.151 H 300.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#643A9A
RGBrgb(100, 58, 154)
HSLhsl(266, 45%, 42%)
HSVhsv(266, 62%, 60%)
CMYKcmyk(35.1%, 62.3%, 0%, 39.6%)
CIE-LABlab(34.13, 38.89, -45.80)
CIE-LCHlch(34.13, 60.08, 310.34°)
OKLaboklab(44.88% 0.0768 -0.13)
OKLCHoklch(44.88% 0.151 300.6)
XYZxyz(12.5999, 8.0685, 31.4591)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A9A #709A3A
analogous
#3A409A #643A9A #943A9A
triadic
#643A9A #9A643A #3A9A64
tetradic
#643A9A #9A3A40 #709A3A #3A9A94
square
#643A9A #9A3A40 #709A3A #3A9A94
split-complementary
#643A9A #9A943A #409A3A
monochromatic
#2A1941 #47296E #643A9A #8253BE #A27FCF

Accessibility & contrast

On white

8.03
#643A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#643A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A9A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A9A#FFFFFF#000000##FFFFFF
##643A9A1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#195098
Tritanopia (blue-blind)
#594E64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643a9a;
/* rgb */ color: rgb(100, 58, 154);
/* oklch */ color: oklch(44.9% 0.151 300.6);
Tailwind
colors: {
  custom: {
    50: '#9472b8',
    500: '#643a9a',
    950: '#000000',
  },
}
SCSS
$custom: #643a9a;
$custom-light: #9472b8;
$custom-dark: #000000;
JSON
{
  "hex": "#643a9a",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 266.25,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4488,
    "c": 0.15098,
    "h": 300.6
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#643A9A
secondary
#9CB977
accent
#D5539C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #643A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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