#64589B#64589B

#64589B is a mid, moderate violet. Relative luminance 0.121; OKLCH L 50.2% C 0.105 H 290.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#64589B
RGBrgb(100, 88, 155)
HSLhsl(251, 28%, 48%)
HSVhsv(251, 43%, 61%)
CMYKcmyk(35.5%, 43.2%, 0%, 39.2%)
CIE-LABlab(41.30, 21.15, -34.94)
CIE-LCHlch(41.30, 40.84, 301.18°)
OKLaboklab(50.24% 0.0364 -0.0982)
OKLCHoklch(50.24% 0.105 290.3)
XYZxyz(14.6601, 12.0550, 32.5584)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64589B #8F9B58
analogous
#586E9B #64589B #85589B
triadic
#64589B #9B6458 #589B64
tetradic
#64589B #9B586E #8F9B58 #589B85
square
#64589B #9B586E #8F9B58 #589B85
split-complementary
#64589B #9B8558 #6E9B58
monochromatic
#322C4D #4B4274 #64589B #867CB4 #AAA3CB

Accessibility & contrast

On white

6.16
#64589B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#64589B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #64589B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64589B#FFFFFF#000000##FFFFFF
##64589B1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639E
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#566572
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #64589b;
/* rgb */ color: rgb(100, 88, 155);
/* oklch */ color: oklch(50.2% 0.105 290.3);
Tailwind
colors: {
  custom: {
    50: '#9287b9',
    500: '#64589b',
    950: '#000000',
  },
}
SCSS
$custom: #64589b;
$custom-light: #9287b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64589b",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 155
  },
  "hsl": {
    "h": 250.746,
    "s": 27.572,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50237,
    "c": 0.10473,
    "h": 290.3
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #64589B

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

Preview Lab → · Contrast checker → · Palette generator →

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