#643C9A#643C9A

#643C9A is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.148 H 300.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#643C9A
RGBrgb(100, 60, 154)
HSLhsl(266, 44%, 42%)
HSVhsv(266, 61%, 60%)
CMYKcmyk(35.1%, 61%, 0%, 39.6%)
CIE-LABlab(34.55, 37.76, -45.12)
CIE-LCHlch(34.55, 58.83, 309.93°)
OKLaboklab(45.19% 0.0743 -0.128)
OKLCHoklch(45.19% 0.148 300.1)
XYZxyz(12.7027, 8.2740, 31.4934)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C9A #729A3C
analogous
#3C439A #643C9A #933C9A
triadic
#643C9A #9A643C #3C9A64
tetradic
#643C9A #9A3C43 #729A3C #3C9A93
square
#643C9A #9A3C43 #729A3C #3C9A93
split-complementary
#643C9A #9A933C #439A3C
monochromatic
#2B1A42 #472B6E #643C9A #8256BD #A382CE

Accessibility & contrast

On white

7.91
#643C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#643C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C9A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C9A#FFFFFF#000000##FFFFFF
##643C9A1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03519D
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#595065
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643c9a;
/* rgb */ color: rgb(100, 60, 154);
/* oklch */ color: oklch(45.2% 0.148 300.1);
Tailwind
colors: {
  custom: {
    50: '#9474b8',
    500: '#643c9a',
    950: '#000000',
  },
}
SCSS
$custom: #643c9a;
$custom-light: #9474b8;
$custom-dark: #000000;
JSON
{
  "hex": "#643c9a",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 154
  },
  "hsl": {
    "h": 265.532,
    "s": 43.925,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45187,
    "c": 0.148,
    "h": 300.1
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#643C9A
secondary
#9EB87A
accent
#D4549D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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