#643799#643799

#643799 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.4% C 0.154 H 301.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#643799
RGBrgb(100, 55, 153)
HSLhsl(268, 47%, 41%)
HSVhsv(268, 64%, 60%)
CMYKcmyk(34.6%, 64.1%, 0%, 40%)
CIE-LABlab(33.44, 40.29, -46.30)
CIE-LCHlch(33.44, 61.37, 311.03°)
OKLaboklab(44.36% 0.0806 -0.1314)
OKLCHoklch(44.36% 0.154 301.5)
XYZxyz(12.3701, 7.7416, 30.9734)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643799 #6C9937
analogous
#373B99 #643799 #953799
triadic
#643799 #996437 #379964
tetradic
#643799 #99373B #6C9937 #379995
square
#643799 #99373B #6C9937 #379995
split-complementary
#643799 #999537 #3B9937
monochromatic
#29173F #47276C #643799 #824EBF #A27BD0

Accessibility & contrast

On white

8.24
#643799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643799
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643799#FFFFFF#000000##FFFFFF
##6437991.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#144E97
Tritanopia (blue-blind)
#594C63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643799;
/* rgb */ color: rgb(100, 55, 153);
/* oklch */ color: oklch(44.4% 0.154 301.5);
Tailwind
colors: {
  custom: {
    50: '#9470b8',
    500: '#643799',
    950: '#000000',
  },
}
SCSS
$custom: #643799;
$custom-light: #9470b8;
$custom-dark: #000000;
JSON
{
  "hex": "#643799",
  "rgb": {
    "r": 100,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 267.551,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.15417,
    "h": 301.5
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#643799
secondary
#99B973
accent
#D75199
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #643799

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

Preview Lab → · Contrast checker → · Palette generator →

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