#643B98#643B98

#643B98 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.147 H 301.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#643B98
RGBrgb(100, 59, 152)
HSLhsl(266, 44%, 41%)
HSVhsv(266, 61%, 60%)
CMYKcmyk(34.2%, 61.2%, 0%, 40.4%)
CIE-LABlab(34.20, 37.80, -44.46)
CIE-LCHlch(34.20, 58.36, 310.37°)
OKLaboklab(44.89% 0.0756 -0.1261)
OKLCHoklch(44.89% 0.147 301)
XYZxyz(12.4856, 8.1042, 30.6061)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B98 #6F983B
analogous
#3B4098 #643B98 #933B98
triadic
#643B98 #98643B #3B9864
tetradic
#643B98 #983B40 #6F983B #3B9893
square
#643B98 #983B40 #6F983B #3B9893
split-complementary
#643B98 #98933B #40983B
monochromatic
#2A1940 #472A6C #643B98 #8254BD #A280CE

Accessibility & contrast

On white

8.01
#643B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#643B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B98
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B98#FFFFFF#000000##FFFFFF
##643B981.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04509B
Deuteranopia (green-blind)
#1E5096
Tritanopia (blue-blind)
#594E64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643b98;
/* rgb */ color: rgb(100, 59, 152);
/* oklch */ color: oklch(44.9% 0.147 301.0);
Tailwind
colors: {
  custom: {
    50: '#9473b7',
    500: '#643b98',
    950: '#000000',
  },
}
SCSS
$custom: #643b98;
$custom-light: #9473b7;
$custom-dark: #000000;
JSON
{
  "hex": "#643b98",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 152
  },
  "hsl": {
    "h": 266.452,
    "s": 44.076,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4489,
    "c": 0.14702,
    "h": 301
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#643B98
secondary
#9BB777
accent
#D4549B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643B98

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

Preview Lab → · Contrast checker → · Palette generator →

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