#584797#584797

#584797 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 45.6% C 0.126 H 290.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#584797
RGBrgb(88, 71, 151)
HSLhsl(253, 36%, 44%)
HSVhsv(253, 53%, 59%)
CMYKcmyk(41.7%, 53%, 0%, 40.8%)
CIE-LABlab(35.63, 27.34, -41.63)
CIE-LCHlch(35.63, 49.81, 303.29°)
OKLaboklab(45.62% 0.0437 -0.1181)
OKLCHoklch(45.62% 0.126 290.3)
XYZxyz(11.8621, 8.8152, 30.3487)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#584797 #869747
analogous
#475E97 #584797 #804797
triadic
#584797 #975847 #479758
tetradic
#584797 #97475E #869747 #479780
square
#584797 #97475E #869747 #479780
split-complementary
#584797 #978047 #5E9747
monochromatic
#272044 #40336D #584797 #7665B6 #9B8ECA

Accessibility & contrast

On white

7.60
#584797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#584797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #584797
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##584797#FFFFFF#000000##FFFFFF
##5847971.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#475868
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #584797;
/* rgb */ color: rgb(88, 71, 151);
/* oklch */ color: oklch(45.6% 0.126 290.3);
Tailwind
colors: {
  custom: {
    50: '#8b7ab6',
    500: '#584797',
    950: '#000000',
  },
}
SCSS
$custom: #584797;
$custom-light: #8b7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#584797",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 252.75,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45623,
    "c": 0.12595,
    "h": 290.3
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#584797
secondary
#ABB684
accent
#CC5CB4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #584797

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

Preview Lab → · Contrast checker → · Palette generator →

#584797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva