#643798#643798

#643798 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.3% C 0.153 H 301.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#643798
RGBrgb(100, 55, 152)
HSLhsl(268, 47%, 41%)
HSVhsv(268, 64%, 60%)
CMYKcmyk(34.2%, 63.8%, 0%, 40.4%)
CIE-LABlab(33.37, 40.03, -45.80)
CIE-LCHlch(33.37, 60.83, 311.15°)
OKLaboklab(44.29% 0.0806 -0.13)
OKLCHoklch(44.29% 0.153 301.8)
XYZxyz(12.2879, 7.7087, 30.5402)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643798 #6B9837
analogous
#373A98 #643798 #943798
triadic
#643798 #986437 #379864
tetradic
#643798 #98373A #6B9837 #379894
square
#643798 #98373A #6B9837 #379894
split-complementary
#643798 #989437 #3A9837
monochromatic
#29163E #46276B #643798 #824DBF #A27ACF

Accessibility & contrast

On white

8.26
#643798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643798
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643798#FFFFFF#000000##FFFFFF
##6437981.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#594C62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643798;
/* rgb */ color: rgb(100, 55, 152);
/* oklch */ color: oklch(44.3% 0.153 301.8);
Tailwind
colors: {
  custom: {
    50: '#9470b7',
    500: '#643798',
    950: '#000000',
  },
}
SCSS
$custom: #643798;
$custom-light: #9470b7;
$custom-dark: #000000;
JSON
{
  "hex": "#643798",
  "rgb": {
    "r": 100,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 267.835,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44286,
    "c": 0.15296,
    "h": 301.8
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#643798
secondary
#98B873
accent
#D65199
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #643798

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

Preview Lab → · Contrast checker → · Palette generator →

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