#582888#582888

#582888 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.153 H 302.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#582888
RGBrgb(88, 40, 136)
HSLhsl(270, 55%, 35%)
HSVhsv(270, 71%, 53%)
CMYKcmyk(35.3%, 70.6%, 0%, 46.7%)
CIE-LABlab(27.76, 41.15, -45.09)
CIE-LCHlch(27.76, 61.04, 312.39°)
OKLaboklab(39.54% 0.0828 -0.1282)
OKLCHoklch(39.54% 0.153 302.9)
XYZxyz(9.2262, 5.3699, 23.8382)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582888 #588828
analogous
#282888 #582888 #882888
triadic
#582888 #885828 #288858
tetradic
#582888 #882828 #588828 #288888
square
#582888 #882828 #588828 #288888
split-complementary
#582888 #888828 #288828
monochromatic
#1B0C29 #391A59 #582888 #7736B7 #955BCF

Accessibility & contrast

On white

10.13
#582888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#582888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582888
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582888#FFFFFF#000000##FFFFFF
##5828881.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582888;
/* rgb */ color: rgb(88, 40, 136);
/* oklch */ color: oklch(39.5% 0.153 302.9);
Tailwind
colors: {
  custom: {
    50: '#8b66ab',
    500: '#582888',
    950: '#000000',
  },
}
SCSS
$custom: #582888;
$custom-light: #8b66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582888",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 270,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39541,
    "c": 0.15268,
    "h": 302.9
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#582888
secondary
#86B458
accent
#DE4A94
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582888

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

Preview Lab → · Contrast checker → · Palette generator →

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