#64579B#64579B

#64579B is a mid, moderate violet. Relative luminance 0.119; OKLCH L 50.0% C 0.106 H 290.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#64579B
RGBrgb(100, 87, 155)
HSLhsl(251, 28%, 47%)
HSVhsv(251, 44%, 61%)
CMYKcmyk(35.5%, 43.9%, 0%, 39.2%)
CIE-LABlab(41.04, 21.77, -35.35)
CIE-LCHlch(41.04, 41.52, 301.62°)
OKLaboklab(50.04% 0.0378 -0.0994)
OKLCHoklch(50.04% 0.106 290.8)
XYZxyz(14.5786, 11.8919, 32.5313)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64579B #8E9B57
analogous
#576C9B #64579B #86579B
triadic
#64579B #9B6457 #579B64
tetradic
#64579B #9B576C #8E9B57 #579B86
square
#64579B #9B576C #8E9B57 #579B86
split-complementary
#64579B #9B8657 #6C9B57
monochromatic
#312B4D #4B4174 #64579B #867BB5 #AAA2CB

Accessibility & contrast

On white

6.22
#64579B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#64579B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #64579B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64579B#FFFFFF#000000##FFFFFF
##64579B1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629E
Deuteranopia (green-blind)
#425F99
Tritanopia (blue-blind)
#566471
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #64579b;
/* rgb */ color: rgb(100, 87, 155);
/* oklch */ color: oklch(50.0% 0.106 290.8);
Tailwind
colors: {
  custom: {
    50: '#9286b9',
    500: '#64579b',
    950: '#000000',
  },
}
SCSS
$custom: #64579b;
$custom-light: #9286b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64579b",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 251.471,
    "s": 28.099,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50041,
    "c": 0.10634,
    "h": 290.8
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#64579B
secondary
#B2B896
accent
#C463B2
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #64579B

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

Preview Lab → · Contrast checker → · Palette generator →

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