#643497#643497

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

Color values

HEX#643497
RGBrgb(100, 52, 151)
HSLhsl(269, 49%, 40%)
HSVhsv(269, 66%, 59%)
CMYKcmyk(33.8%, 65.6%, 0%, 40.8%)
CIE-LABlab(32.70, 41.39, -46.27)
CIE-LCHlch(32.70, 62.08, 311.82°)
OKLaboklab(43.78% 0.0844 -0.1313)
OKLCHoklch(43.78% 0.156 302.7)
XYZxyz(12.0681, 7.3997, 30.0646)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643497 #679734
analogous
#343697 #643497 #953497
triadic
#643497 #976434 #349764
tetradic
#643497 #973436 #679734 #349795
square
#643497 #973436 #679734 #349795
split-complementary
#643497 #979534 #369734
monochromatic
#28153C #462469 #643497 #8248C0 #A176D0

Accessibility & contrast

On white

8.47
#643497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643497
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643497#FFFFFF#000000##FFFFFF
##6434971.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#114D95
Tritanopia (blue-blind)
#5A4A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643497;
/* rgb */ color: rgb(100, 52, 151);
/* oklch */ color: oklch(43.8% 0.156 302.7);
Tailwind
colors: {
  custom: {
    50: '#946eb6',
    500: '#643497',
    950: '#000000',
  },
}
SCSS
$custom: #643497;
$custom-light: #946eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#643497",
  "rgb": {
    "r": 100,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 269.091,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4378,
    "c": 0.1561,
    "h": 302.7
  },
  "luminance": 0.074
}

Semantic roles & 50–950 ramp

primary
#643497
secondary
#95B86F
accent
#D84F96
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #643497

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

Preview Lab → · Contrast checker → · Palette generator →

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