#643B99#643B99

#643B99 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.148 H 300.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#643B99
RGBrgb(100, 59, 153)
HSLhsl(266, 44%, 42%)
HSVhsv(266, 61%, 60%)
CMYKcmyk(34.6%, 61.4%, 0%, 40%)
CIE-LABlab(34.27, 38.06, -44.96)
CIE-LCHlch(34.27, 58.91, 310.25°)
OKLaboklab(44.96% 0.0756 -0.1275)
OKLCHoklch(44.96% 0.148 300.7)
XYZxyz(12.5679, 8.1371, 31.0393)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B99 #70993B
analogous
#3B4199 #643B99 #933B99
triadic
#643B99 #99643B #3B9964
tetradic
#643B99 #993B41 #70993B #3B9993
square
#643B99 #993B41 #70993B #3B9993
split-complementary
#643B99 #99933B #41993B
monochromatic
#2A1941 #472A6D #643B99 #8254BD #A280CE

Accessibility & contrast

On white

7.99
#643B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643B99
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B99#FFFFFF#000000##FFFFFF
##643B991.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509C
Deuteranopia (green-blind)
#1C5097
Tritanopia (blue-blind)
#594F64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643b99;
/* rgb */ color: rgb(100, 59, 153);
/* oklch */ color: oklch(45.0% 0.148 300.7);
Tailwind
colors: {
  custom: {
    50: '#9473b8',
    500: '#643b99',
    950: '#000000',
  },
}
SCSS
$custom: #643b99;
$custom-light: #9473b8;
$custom-dark: #000000;
JSON
{
  "hex": "#643b99",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 266.17,
    "s": 44.34,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.14825,
    "h": 300.7
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#643B99
secondary
#9CB878
accent
#D4549C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643B99

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

Preview Lab → · Contrast checker → · Palette generator →

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