#643399#643399

#643399 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.160 H 302.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#643399
RGBrgb(100, 51, 153)
HSLhsl(269, 50%, 40%)
HSVhsv(269, 67%, 60%)
CMYKcmyk(34.6%, 66.7%, 0%, 40%)
CIE-LABlab(32.65, 42.44, -47.57)
CIE-LCHlch(32.65, 63.75, 311.74°)
OKLaboklab(43.79% 0.0854 -0.1352)
OKLCHoklch(43.79% 0.16 302.3)
XYZxyz(12.1878, 7.3769, 30.9126)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643399 #689933
analogous
#333599 #643399 #973399
triadic
#643399 #996433 #339964
tetradic
#643399 #993335 #689933 #339997
square
#643399 #993335 #689933 #339997
split-complementary
#643399 #999733 #359933
monochromatic
#28143D #46246B #643399 #8247C2 #A175D1

Accessibility & contrast

On white

8.48
#643399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#643399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643399
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643399#FFFFFF#000000##FFFFFF
##6433991.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#094C97
Tritanopia (blue-blind)
#594A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643399;
/* rgb */ color: rgb(100, 51, 153);
/* oklch */ color: oklch(43.8% 0.160 302.3);
Tailwind
colors: {
  custom: {
    50: '#946eb8',
    500: '#643399',
    950: '#000000',
  },
}
SCSS
$custom: #643399;
$custom-light: #946eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#643399",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 268.824,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.4379,
    "c": 0.15986,
    "h": 302.3
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#643399
secondary
#95B96E
accent
#DA4E97
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #643399

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

Preview Lab → · Contrast checker → · Palette generator →

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