#643897#643897

#643897 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.150 H 301.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#643897
RGBrgb(100, 56, 151)
HSLhsl(268, 46%, 41%)
HSVhsv(268, 63%, 59%)
CMYKcmyk(33.8%, 62.9%, 0%, 40.8%)
CIE-LABlab(33.50, 39.22, -44.97)
CIE-LCHlch(33.50, 59.67, 311.09°)
OKLaboklab(44.36% 0.0795 -0.1276)
OKLCHoklch(44.36% 0.15 301.9)
XYZxyz(12.2543, 7.7720, 30.1267)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643897 #6B9738
analogous
#383C97 #643897 #933897
triadic
#643897 #976438 #389764
tetradic
#643897 #97383C #6B9738 #389793
square
#643897 #97383C #6B9738 #389793
split-complementary
#643897 #979338 #3C9738
monochromatic
#29173E #46276A #643897 #824FBE #A27BCE

Accessibility & contrast

On white

8.22
#643897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#643897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643897
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643897#FFFFFF#000000##FFFFFF
##6438971.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#1A4E95
Tritanopia (blue-blind)
#5A4C62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643897;
/* rgb */ color: rgb(100, 56, 151);
/* oklch */ color: oklch(44.4% 0.150 301.9);
Tailwind
colors: {
  custom: {
    50: '#9471b6',
    500: '#643897',
    950: '#000000',
  },
}
SCSS
$custom: #643897;
$custom-light: #9471b6;
$custom-dark: #000000;
JSON
{
  "hex": "#643897",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 267.789,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44362,
    "c": 0.15028,
    "h": 301.9
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#643897
secondary
#98B773
accent
#D65299
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643897

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

Preview Lab → · Contrast checker → · Palette generator →

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