#643498#643498

#643498 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.157 H 302.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#643498
RGBrgb(100, 52, 152)
HSLhsl(269, 49%, 40%)
HSVhsv(269, 66%, 60%)
CMYKcmyk(34.2%, 65.8%, 0%, 40.4%)
CIE-LABlab(32.77, 41.65, -46.76)
CIE-LCHlch(32.77, 62.62, 311.69°)
OKLaboklab(43.85% 0.0843 -0.1328)
OKLCHoklch(43.85% 0.157 302.4)
XYZxyz(12.1497, 7.4323, 30.4942)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643498 #689834
analogous
#343698 #643498 #963498
triadic
#643498 #986434 #349864
tetradic
#643498 #983436 #689834 #349896
square
#643498 #983436 #689834 #349896
split-complementary
#643498 #989634 #369834
monochromatic
#28153D #46246A #643498 #8249C1 #A176D0

Accessibility & contrast

On white

8.45
#643498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#643498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643498
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643498#FFFFFF#000000##FFFFFF
##6434981.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#0F4D96
Tritanopia (blue-blind)
#5A4A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643498;
/* rgb */ color: rgb(100, 52, 152);
/* oklch */ color: oklch(43.9% 0.157 302.4);
Tailwind
colors: {
  custom: {
    50: '#946eb7',
    500: '#643498',
    950: '#000000',
  },
}
SCSS
$custom: #643498;
$custom-light: #946eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#643498",
  "rgb": {
    "r": 100,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 268.8,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.15729,
    "h": 302.4
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#643498
secondary
#95B96F
accent
#D94F97
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #643498

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

Preview Lab → · Contrast checker → · Palette generator →

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