#582988#582988

#582988 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.151 H 302.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#582988
RGBrgb(88, 41, 136)
HSLhsl(270, 54%, 35%)
HSVhsv(270, 70%, 53%)
CMYKcmyk(35.3%, 69.9%, 0%, 46.7%)
CIE-LABlab(27.95, 40.64, -44.79)
CIE-LCHlch(27.95, 60.48, 312.22°)
OKLaboklab(39.67% 0.0817 -0.1274)
OKLCHoklch(39.67% 0.151 302.7)
XYZxyz(9.2603, 5.4381, 23.8496)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582988 #598829
analogous
#292A88 #582988 #872988
triadic
#582988 #885829 #298858
tetradic
#582988 #88292A #598829 #298887
square
#582988 #88292A #598829 #298887
split-complementary
#582988 #888729 #2A8829
monochromatic
#1B0D2A #3A1B59 #582988 #7637B7 #955DCE

Accessibility & contrast

On white

10.06
#582988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#582988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582988
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582988#FFFFFF#000000##FFFFFF
##5829881.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#4E3F55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582988;
/* rgb */ color: rgb(88, 41, 136);
/* oklch */ color: oklch(39.7% 0.151 302.7);
Tailwind
colors: {
  custom: {
    50: '#8b66ab',
    500: '#582988',
    950: '#000000',
  },
}
SCSS
$custom: #582988;
$custom-light: #8b66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582988",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 269.684,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39674,
    "c": 0.15133,
    "h": 302.7
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#582988
secondary
#87B459
accent
#DD4B95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582988

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

Preview Lab → · Contrast checker → · Palette generator →

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