#64399E#64399E

#64399E is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.157 H 299.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#64399E
RGBrgb(100, 57, 158)
HSLhsl(266, 47%, 42%)
HSVhsv(266, 64%, 62%)
CMYKcmyk(36.7%, 63.9%, 0%, 38%)
CIE-LABlab(34.20, 40.50, -48.10)
CIE-LCHlch(34.20, 62.88, 310.10°)
OKLaboklab(45.02% 0.0778 -0.1367)
OKLCHoklch(45.02% 0.157 299.6)
XYZxyz(12.8887, 8.1041, 33.2263)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64399E #739E39
analogous
#39409E #64399E #97399E
triadic
#64399E #9E6439 #399E64
tetradic
#64399E #9E3940 #739E39 #399E97
square
#64399E #9E3940 #739E39 #399E97
split-complementary
#64399E #9E9739 #409E39
monochromatic
#2B1944 #482971 #64399E #8253C1 #A380D1

Accessibility & contrast

On white

8.01
#64399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#64399E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64399E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64399E#FFFFFF#000000##FFFFFF
##64399E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#0D509C
Tritanopia (blue-blind)
#574F66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #64399e;
/* rgb */ color: rgb(100, 57, 158);
/* oklch */ color: oklch(45.0% 0.157 299.6);
Tailwind
colors: {
  custom: {
    50: '#9472bb',
    500: '#64399e',
    950: '#000000',
  },
}
SCSS
$custom: #64399e;
$custom-light: #9472bb;
$custom-dark: #000000;
JSON
{
  "hex": "#64399e",
  "rgb": {
    "r": 100,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 265.545,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45022,
    "c": 0.15733,
    "h": 299.6
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#64399E
secondary
#9EBB78
accent
#D7519E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #64399E

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

Preview Lab → · Contrast checker → · Palette generator →

#64399E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva