#584C8A#584C8A

#584C8A is a mid, moderate violet. Relative luminance 0.091; OKLCH L 45.8% C 0.099 H 290.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#584C8A
RGBrgb(88, 76, 138)
HSLhsl(252, 29%, 42%)
HSVhsv(252, 45%, 54%)
CMYKcmyk(36.2%, 44.9%, 0%, 45.9%)
CIE-LABlab(36.13, 20.38, -32.91)
CIE-LCHlch(36.13, 38.71, 301.76°)
OKLaboklab(45.76% 0.0353 -0.0926)
OKLCHoklch(45.76% 0.099 290.8)
XYZxyz(11.1952, 9.0783, 25.2023)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#584C8A #7E8A4C
analogous
#4C5F8A #584C8A #774C8A
triadic
#584C8A #8A584C #4C8A58
tetradic
#584C8A #8A4C5F #7E8A4C #4C8A77
square
#584C8A #8A4C5F #7E8A4C #4C8A77
split-complementary
#584C8A #8A774C #5F8A4C
monochromatic
#26213B #3F3663 #584C8A #7568AC #998FC1

Accessibility & contrast

On white

7.46
#584C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#584C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #584C8A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##584C8A#FFFFFF#000000##FFFFFF
##584C8A1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#4C5864
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #584c8a;
/* rgb */ color: rgb(88, 76, 138);
/* oklch */ color: oklch(45.8% 0.099 290.8);
Tailwind
colors: {
  custom: {
    50: '#897eac',
    500: '#584c8a',
    950: '#000000',
  },
}
SCSS
$custom: #584c8a;
$custom-light: #897eac;
$custom-dark: #000000;
JSON
{
  "hex": "#584c8a",
  "rgb": {
    "r": 88,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 251.613,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45755,
    "c": 0.09908,
    "h": 290.8
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#584C8A
secondary
#A6AE84
accent
#C563B2
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #584C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#584C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva