#64579C#64579C

#64579C is a mid, moderate violet. Relative luminance 0.119; OKLCH L 50.1% C 0.108 H 290.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#64579C
RGBrgb(100, 87, 156)
HSLhsl(251, 28%, 48%)
HSVhsv(251, 44%, 61%)
CMYKcmyk(35.9%, 44.2%, 0%, 38.8%)
CIE-LABlab(41.10, 22.05, -35.87)
CIE-LCHlch(41.10, 42.10, 301.58°)
OKLaboklab(50.1% 0.038 -0.1009)
OKLCHoklch(50.1% 0.108 290.6)
XYZxyz(14.6629, 11.9257, 32.9754)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64579C #8F9C57
analogous
#576D9C #64579C #86579C
triadic
#64579C #9C6457 #579C64
tetradic
#64579C #9C576D #8F9C57 #579C86
square
#64579C #9C576D #8F9C57 #579C86
split-complementary
#64579C #9C8657 #6D9C57
monochromatic
#322B4D #4B4175 #64579C #867BB5 #AAA2CB

Accessibility & contrast

On white

6.20
#64579C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#64579C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #64579C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64579C#FFFFFF#000000##FFFFFF
##64579C1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629F
Deuteranopia (green-blind)
#415F9A
Tritanopia (blue-blind)
#566472
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #64579c;
/* rgb */ color: rgb(100, 87, 156);
/* oklch */ color: oklch(50.1% 0.108 290.6);
Tailwind
colors: {
  custom: {
    50: '#9286b9',
    500: '#64579c',
    950: '#000000',
  },
}
SCSS
$custom: #64579c;
$custom-light: #9286b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64579c",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 251.304,
    "s": 28.395,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.1078,
    "h": 290.6
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

primary
#64579C
secondary
#B2B996
accent
#C563B2
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #64579C

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

Preview Lab → · Contrast checker → · Palette generator →

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