#64587F#64587F

#64587F is a mid, moderate violet. Relative luminance 0.112; OKLCH L 48.8% C 0.063 H 298.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#64587F
RGBrgb(100, 88, 127)
HSLhsl(258, 18%, 42%)
HSVhsv(258, 31%, 50%)
CMYKcmyk(21.3%, 30.7%, 0%, 50.2%)
CIE-LABlab(39.95, 13.61, -20.14)
CIE-LCHlch(39.95, 24.31, 304.06°)
OKLaboklab(48.76% 0.0297 -0.0555)
OKLCHoklch(48.76% 0.063 298.2)
XYZxyz(12.5752, 11.2210, 21.5779)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64587F #737F58
analogous
#585F7F #64587F #78587F
triadic
#64587F #7F6458 #587F64
tetradic
#64587F #7F585F #737F58 #587F78
square
#64587F #7F585F #737F58 #587F78
split-complementary
#64587F #7F7858 #5F7F58
monochromatic
#2B2637 #483F5B #64587F #82759F #A399B8

Accessibility & contrast

On white

6.47
#64587F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#64587F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #64587F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64587F#FFFFFF#000000##FFFFFF
##64587F1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E81
Deuteranopia (green-blind)
#515E7E
Tritanopia (blue-blind)
#5F5E66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #64587f;
/* rgb */ color: rgb(100, 88, 127);
/* oklch */ color: oklch(48.8% 0.063 298.2);
Tailwind
colors: {
  custom: {
    50: '#9087a4',
    500: '#64587f',
    950: '#000000',
  },
}
SCSS
$custom: #64587f;
$custom-light: #9087a4;
$custom-dark: #000000;
JSON
{
  "hex": "#64587f",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 258.462,
    "s": 18.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48761,
    "c": 0.06294,
    "h": 298.2
  },
  "luminance": 0.11221
}

Semantic roles & 50–950 ramp

primary
#64587F
secondary
#9EA68C
accent
#BB6DA3
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0B0F
muted
#7D7C7F

Preview Lab

Preview with #64587F

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

Preview Lab → · Contrast checker → · Palette generator →

#64587F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva