#643496#643496

#643496 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.7% C 0.155 H 303.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#643496
RGBrgb(100, 52, 150)
HSLhsl(269, 49%, 40%)
HSVhsv(269, 65%, 59%)
CMYKcmyk(33.3%, 65.3%, 0%, 41.2%)
CIE-LABlab(32.63, 41.14, -45.77)
CIE-LCHlch(32.63, 61.54, 311.95°)
OKLaboklab(43.71% 0.0844 -0.1299)
OKLCHoklch(43.71% 0.155 303)
XYZxyz(11.9873, 7.3673, 29.6388)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643496 #669634
analogous
#343596 #643496 #953496
triadic
#643496 #966434 #349664
tetradic
#643496 #963435 #669634 #349695
square
#643496 #963435 #669634 #349695
split-complementary
#643496 #969534 #359634
monochromatic
#27143B #462469 #643496 #8248BF #A175CF

Accessibility & contrast

On white

8.49
#643496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#643496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643496
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643496#FFFFFF#000000##FFFFFF
##6434961.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#144D94
Tritanopia (blue-blind)
#5A4960
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643496;
/* rgb */ color: rgb(100, 52, 150);
/* oklch */ color: oklch(43.7% 0.155 303.0);
Tailwind
colors: {
  custom: {
    50: '#946eb5',
    500: '#643496',
    950: '#000000',
  },
}
SCSS
$custom: #643496;
$custom-light: #946eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#643496",
  "rgb": {
    "r": 100,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 269.388,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43706,
    "c": 0.15493,
    "h": 303
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#643496
secondary
#94B86E
accent
#D85095
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #643496

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

Preview Lab → · Contrast checker → · Palette generator →

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