#643898#643898

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

Color values

HEX#643898
RGBrgb(100, 56, 152)
HSLhsl(268, 46%, 41%)
HSVhsv(268, 63%, 60%)
CMYKcmyk(34.2%, 63.2%, 0%, 40.4%)
CIE-LABlab(33.57, 39.48, -45.47)
CIE-LCHlch(33.57, 60.22, 310.96°)
OKLaboklab(44.43% 0.0794 -0.129)
OKLCHoklch(44.43% 0.151 301.6)
XYZxyz(12.3359, 7.8046, 30.5562)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643898 #6C9838
analogous
#383C98 #643898 #943898
triadic
#643898 #986438 #389864
tetradic
#643898 #98383C #6C9838 #389894
square
#643898 #98383C #6C9838 #389894
split-complementary
#643898 #989438 #3C9838
monochromatic
#29173F #47286B #643898 #824FBE #A27CCF

Accessibility & contrast

On white

8.20
#643898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#643898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643898
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643898#FFFFFF#000000##FFFFFF
##6438981.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643898;
/* rgb */ color: rgb(100, 56, 152);
/* oklch */ color: oklch(44.4% 0.151 301.6);
Tailwind
colors: {
  custom: {
    50: '#9471b7',
    500: '#643898',
    950: '#000000',
  },
}
SCSS
$custom: #643898;
$custom-light: #9471b7;
$custom-dark: #000000;
JSON
{
  "hex": "#643898",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 267.5,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44434,
    "c": 0.15149,
    "h": 301.6
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#643898
secondary
#99B874
accent
#D65299
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643898

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

Preview Lab → · Contrast checker → · Palette generator →

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