#643A99#643A99

#643A99 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.150 H 300.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#643A99
RGBrgb(100, 58, 153)
HSLhsl(267, 45%, 41%)
HSVhsv(267, 62%, 60%)
CMYKcmyk(34.6%, 62.1%, 0%, 40%)
CIE-LABlab(34.06, 38.62, -45.30)
CIE-LCHlch(34.06, 59.53, 310.45°)
OKLaboklab(44.81% 0.0769 -0.1285)
OKLCHoklch(44.81% 0.15 300.9)
XYZxyz(12.5170, 8.0353, 31.0223)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A99 #6F993A
analogous
#3A4099 #643A99 #943A99
triadic
#643A99 #99643A #3A9964
tetradic
#643A99 #993A40 #6F993A #3A9994
square
#643A99 #993A40 #6F993A #3A9994
split-complementary
#643A99 #99943A #40993A
monochromatic
#2A1840 #47296D #643A99 #8253BE #A27FCE

Accessibility & contrast

On white

8.06
#643A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#643A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A99
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A99#FFFFFF#000000##FFFFFF
##643A991.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#1A5097
Tritanopia (blue-blind)
#594E64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643a99;
/* rgb */ color: rgb(100, 58, 153);
/* oklch */ color: oklch(44.8% 0.150 300.9);
Tailwind
colors: {
  custom: {
    50: '#9472b8',
    500: '#643a99',
    950: '#000000',
  },
}
SCSS
$custom: #643a99;
$custom-light: #9472b8;
$custom-dark: #000000;
JSON
{
  "hex": "#643a99",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 266.526,
    "s": 45.024,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44808,
    "c": 0.14975,
    "h": 300.9
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#643A99
secondary
#9BB877
accent
#D5539B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643A99

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

Preview Lab → · Contrast checker → · Palette generator →

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