#643E9A#643E9A

#643E9A is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.5% C 0.145 H 299.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#643E9A
RGBrgb(100, 62, 154)
HSLhsl(265, 43%, 42%)
HSVhsv(265, 60%, 60%)
CMYKcmyk(35.1%, 59.7%, 0%, 39.6%)
CIE-LABlab(34.98, 36.62, -44.42)
CIE-LCHlch(34.98, 57.57, 309.50°)
OKLaboklab(45.5% 0.0718 -0.1259)
OKLCHoklch(45.5% 0.145 299.7)
XYZxyz(12.8095, 8.4876, 31.5290)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E9A #749A3E
analogous
#3E469A #643E9A #923E9A
triadic
#643E9A #9A643E #3E9A64
tetradic
#643E9A #9A3E46 #749A3E #3E9A92
square
#643E9A #9A3E46 #749A3E #3E9A92
split-complementary
#643E9A #9A923E #469A3E
monochromatic
#2B1B43 #482C6E #643E9A #8259BC #A385CE

Accessibility & contrast

On white

7.78
#643E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#643E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E9A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E9A#FFFFFF#000000##FFFFFF
##643E9A1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D529D
Deuteranopia (green-blind)
#205298
Tritanopia (blue-blind)
#585166
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643e9a;
/* rgb */ color: rgb(100, 62, 154);
/* oklch */ color: oklch(45.5% 0.145 299.7);
Tailwind
colors: {
  custom: {
    50: '#9475b8',
    500: '#643e9a',
    950: '#000000',
  },
}
SCSS
$custom: #643e9a;
$custom-light: #9475b8;
$custom-dark: #000000;
JSON
{
  "hex": "#643e9a",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 264.783,
    "s": 42.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45502,
    "c": 0.14496,
    "h": 299.7
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#643E9A
secondary
#9FB87C
accent
#D2559F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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