#643B9B#643B9B

#643B9B is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.151 H 300.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#643B9B
RGBrgb(100, 59, 155)
HSLhsl(266, 45%, 42%)
HSVhsv(266, 62%, 61%)
CMYKcmyk(35.5%, 61.9%, 0%, 39.2%)
CIE-LABlab(34.40, 38.59, -45.95)
CIE-LCHlch(34.40, 60.01, 310.02°)
OKLaboklab(45.1% 0.0755 -0.1304)
OKLCHoklch(45.1% 0.151 300.1)
XYZxyz(12.7345, 8.2037, 31.9166)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B9B #729B3B
analogous
#3B429B #643B9B #943B9B
triadic
#643B9B #9B643B #3B9B64
tetradic
#643B9B #9B3B42 #729B3B #3B9B94
square
#643B9B #9B3B42 #729B3B #3B9B94
split-complementary
#643B9B #9B943B #429B3B
monochromatic
#2B1942 #472A6F #643B9B #8255BE #A381CF

Accessibility & contrast

On white

7.95
#643B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#643B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B9B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B9B#FFFFFF#000000##FFFFFF
##643B9B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#195099
Tritanopia (blue-blind)
#584F65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643b9b;
/* rgb */ color: rgb(100, 59, 155);
/* oklch */ color: oklch(45.1% 0.151 300.1);
Tailwind
colors: {
  custom: {
    50: '#9473b9',
    500: '#643b9b',
    950: '#000000',
  },
}
SCSS
$custom: #643b9b;
$custom-light: #9473b9;
$custom-dark: #000000;
JSON
{
  "hex": "#643b9b",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 155
  },
  "hsl": {
    "h": 265.625,
    "s": 44.86,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.15074,
    "h": 300.1
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#643B9B
secondary
#9EB979
accent
#D5539D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #643B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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