#643B9A#643B9A

#643B9A is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.0% C 0.149 H 300.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#643B9A
RGBrgb(100, 59, 154)
HSLhsl(266, 45%, 42%)
HSVhsv(266, 62%, 60%)
CMYKcmyk(35.1%, 61.7%, 0%, 39.6%)
CIE-LABlab(34.34, 38.33, -45.46)
CIE-LCHlch(34.34, 59.46, 310.13°)
OKLaboklab(45.03% 0.0756 -0.129)
OKLCHoklch(45.03% 0.15 300.4)
XYZxyz(12.6508, 8.1703, 31.4761)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B9A #719A3B
analogous
#3B419A #643B9A #943B9A
triadic
#643B9A #9A643B #3B9A64
tetradic
#643B9A #9A3B41 #719A3B #3B9A94
square
#643B9A #9A3B41 #719A3B #3B9A94
split-complementary
#643B9A #9A943B #419A3B
monochromatic
#2B1942 #472A6E #643B9A #8255BE #A281CF

Accessibility & contrast

On white

7.97
#643B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#643B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B9A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B9A#FFFFFF#000000##FFFFFF
##643B9A1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#1B5098
Tritanopia (blue-blind)
#594F65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643b9a;
/* rgb */ color: rgb(100, 59, 154);
/* oklch */ color: oklch(45.0% 0.149 300.4);
Tailwind
colors: {
  custom: {
    50: '#9473b8',
    500: '#643b9a',
    950: '#000000',
  },
}
SCSS
$custom: #643b9a;
$custom-light: #9473b8;
$custom-dark: #000000;
JSON
{
  "hex": "#643b9a",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 154
  },
  "hsl": {
    "h": 265.895,
    "s": 44.601,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45032,
    "c": 0.1495,
    "h": 300.4
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#643B9A
secondary
#9DB878
accent
#D4539D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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