#64517C#64517C

#64517C is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.2% C 0.071 H 304.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#64517C
RGBrgb(100, 81, 124)
HSLhsl(267, 21%, 40%)
HSVhsv(267, 35%, 49%)
CMYKcmyk(19.4%, 34.7%, 0%, 51.4%)
CIE-LABlab(37.93, 17.22, -21.42)
CIE-LCHlch(37.93, 27.48, 308.79°)
OKLaboklab(47.17% 0.04 -0.0591)
OKLCHoklch(47.17% 0.071 304.1)
XYZxyz(11.8353, 10.0495, 20.3811)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64517C #697C51
analogous
#51537C #64517C #7A517C
triadic
#64517C #7C6451 #517C64
tetradic
#64517C #7C5153 #697C51 #517C7A
square
#64517C #7C5153 #697C51 #517C7A
split-complementary
#64517C #7C7A51 #537C51
monochromatic
#282132 #463957 #64517C #826C9F #A191B7

Accessibility & contrast

On white

6.98
#64517C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#64517C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #64517C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64517C#FFFFFF#000000##FFFFFF
##64517C1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597E
Deuteranopia (green-blind)
#4C597B
Tritanopia (blue-blind)
#605761
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #64517c;
/* rgb */ color: rgb(100, 81, 124);
/* oklch */ color: oklch(47.2% 0.071 304.1);
Tailwind
colors: {
  custom: {
    50: '#9182a2',
    500: '#64517c',
    950: '#000000',
  },
}
SCSS
$custom: #64517c;
$custom-light: #9182a2;
$custom-dark: #000000;
JSON
{
  "hex": "#64517c",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 266.512,
    "s": 20.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47171,
    "c": 0.07136,
    "h": 304.1
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#64517C
secondary
#96A485
accent
#BE6A99
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0D0A0F
muted
#7D7C7E

Preview Lab

Preview with #64517C

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

Preview Lab → · Contrast checker → · Palette generator →

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