#643797#643797

#643797 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.2% C 0.152 H 302.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#643797
RGBrgb(100, 55, 151)
HSLhsl(268, 47%, 40%)
HSVhsv(268, 64%, 59%)
CMYKcmyk(33.8%, 63.6%, 0%, 40.8%)
CIE-LABlab(33.30, 39.77, -45.30)
CIE-LCHlch(33.30, 60.28, 311.28°)
OKLaboklab(44.21% 0.0807 -0.1285)
OKLCHoklch(44.21% 0.152 302.1)
XYZxyz(12.2063, 7.6760, 30.1107)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643797 #6A9737
analogous
#373A97 #643797 #943797
triadic
#643797 #976437 #379764
tetradic
#643797 #97373A #6A9737 #379794
square
#643797 #97373A #6A9737 #379794
split-complementary
#643797 #979437 #3A9737
monochromatic
#29163D #46276A #643797 #824DBE #A27ACF

Accessibility & contrast

On white

8.28
#643797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#643797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643797
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643797#FFFFFF#000000##FFFFFF
##6437971.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#5A4B62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643797;
/* rgb */ color: rgb(100, 55, 151);
/* oklch */ color: oklch(44.2% 0.152 302.1);
Tailwind
colors: {
  custom: {
    50: '#9470b6',
    500: '#643797',
    950: '#000000',
  },
}
SCSS
$custom: #643797;
$custom-light: #9470b6;
$custom-dark: #000000;
JSON
{
  "hex": "#643797",
  "rgb": {
    "r": 100,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 268.125,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.15176,
    "h": 302.1
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#643797
secondary
#97B872
accent
#D65298
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643797

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

Preview Lab → · Contrast checker → · Palette generator →

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