#643099#643099

#643099 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.164 H 302.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#643099
RGBrgb(100, 48, 153)
HSLhsl(270, 52%, 39%)
HSVhsv(270, 69%, 60%)
CMYKcmyk(34.6%, 68.6%, 0%, 40%)
CIE-LABlab(32.09, 43.99, -48.48)
CIE-LCHlch(32.09, 65.47, 312.22°)
OKLaboklab(43.38% 0.0888 -0.1378)
OKLCHoklch(43.38% 0.164 302.8)
XYZxyz(12.0609, 7.1231, 30.8703)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643099 #659930
analogous
#303199 #643099 #993099
triadic
#643099 #996430 #309964
tetradic
#643099 #993031 #659930 #309999
square
#643099 #993031 #659930 #309999
split-complementary
#643099 #999930 #319930
monochromatic
#27133C #46216A #643099 #8242C4 #A171D2

Accessibility & contrast

On white

8.66
#643099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#643099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643099
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643099#FFFFFF#000000##FFFFFF
##6430991.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#594860
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #643099;
/* rgb */ color: rgb(100, 48, 153);
/* oklch */ color: oklch(43.4% 0.164 302.8);
Tailwind
colors: {
  custom: {
    50: '#956cb8',
    500: '#643099',
    950: '#000000',
  },
}
SCSS
$custom: #643099;
$custom-light: #956cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#643099",
  "rgb": {
    "r": 100,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 269.714,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43384,
    "c": 0.16397,
    "h": 302.8
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#643099
secondary
#93BA6B
accent
#DC4C95
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #643099

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

Preview Lab → · Contrast checker → · Palette generator →

#643099 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva