#64579E#64579E

#64579E is a mid, moderate violet. Relative luminance 0.120; OKLCH L 50.2% C 0.111 H 290.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#64579E
RGBrgb(100, 87, 158)
HSLhsl(251, 29%, 48%)
HSVhsv(251, 45%, 62%)
CMYKcmyk(36.7%, 44.9%, 0%, 38%)
CIE-LABlab(41.21, 22.62, -36.89)
CIE-LCHlch(41.21, 43.27, 301.52°)
OKLaboklab(50.22% 0.0383 -0.1039)
OKLCHoklch(50.22% 0.111 290.2)
XYZxyz(14.8336, 11.9940, 33.8746)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64579E #919E57
analogous
#576D9E #64579E #87579E
triadic
#64579E #9E6457 #579E64
tetradic
#64579E #9E576D #919E57 #579E87
square
#64579E #9E576D #919E57 #579E87
split-complementary
#64579E #9E8757 #6D9E57
monochromatic
#322C4F #4B4177 #64579E #867CB7 #ABA3CC

Accessibility & contrast

On white

6.18
#64579E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#64579E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #64579E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64579E#FFFFFF#000000##FFFFFF
##64579E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F63A1
Deuteranopia (green-blind)
#40609C
Tritanopia (blue-blind)
#556573
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #64579e;
/* rgb */ color: rgb(100, 87, 158);
/* oklch */ color: oklch(50.2% 0.111 290.2);
Tailwind
colors: {
  custom: {
    50: '#9386bb',
    500: '#64579e',
    950: '#000000',
  },
}
SCSS
$custom: #64579e;
$custom-light: #9386bb;
$custom-dark: #000000;
JSON
{
  "hex": "#64579e",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 250.986,
    "s": 28.98,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.11071,
    "h": 290.2
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#64579E
secondary
#B4BA97
accent
#C563B3
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #64579E

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

Preview Lab → · Contrast checker → · Palette generator →

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