#643698#643698

#643698 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.154 H 302.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#643698
RGBrgb(100, 54, 152)
HSLhsl(268, 48%, 40%)
HSVhsv(268, 64%, 60%)
CMYKcmyk(34.2%, 64.5%, 0%, 40.4%)
CIE-LABlab(33.17, 40.57, -46.13)
CIE-LCHlch(33.17, 61.43, 311.34°)
OKLaboklab(44.14% 0.0819 -0.1309)
OKLCHoklch(44.14% 0.154 302)
XYZxyz(12.2409, 7.6146, 30.5246)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643698 #6A9836
analogous
#363998 #643698 #953698
triadic
#643698 #986436 #369864
tetradic
#643698 #983639 #6A9836 #369895
square
#643698 #983639 #6A9836 #369895
split-complementary
#643698 #989536 #399836
monochromatic
#29163E #46266B #643698 #824CBF #A279CF

Accessibility & contrast

On white

8.32
#643698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#643698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643698
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643698#FFFFFF#000000##FFFFFF
##6436981.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#144E96
Tritanopia (blue-blind)
#594B62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643698;
/* rgb */ color: rgb(100, 54, 152);
/* oklch */ color: oklch(44.1% 0.154 302.0);
Tailwind
colors: {
  custom: {
    50: '#9470b7',
    500: '#643698',
    950: '#000000',
  },
}
SCSS
$custom: #643698;
$custom-light: #9470b7;
$custom-dark: #000000;
JSON
{
  "hex": "#643698",
  "rgb": {
    "r": 100,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 268.163,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.15442,
    "h": 302
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#643698
secondary
#97B872
accent
#D75198
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #643698

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

Preview Lab → · Contrast checker → · Palette generator →

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