#582978#582978

#582978 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.133 H 308.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#582978
RGBrgb(88, 41, 120)
HSLhsl(276, 49%, 32%)
HSVhsv(276, 66%, 47%)
CMYKcmyk(26.7%, 65.8%, 0%, 52.9%)
CIE-LABlab(26.78, 36.59, -36.61)
CIE-LCHlch(26.78, 51.76, 314.98°)
OKLaboklab(38.46% 0.0832 -0.1034)
OKLCHoklch(38.46% 0.133 308.8)
XYZxyz(8.2069, 5.0168, 18.3017)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582978 #497829
analogous
#312978 #582978 #782971
triadic
#582978 #785829 #297858
tetradic
#582978 #783129 #497829 #297178
square
#582978 #783129 #497829 #297178
split-complementary
#582978 #717829 #297831
monochromatic
#150A1D #37194A #582978 #7939A6 #9856C5

Accessibility & contrast

On white

10.48
#582978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#582978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582978
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582978#FFFFFF#000000##FFFFFF
##5829781.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#1D4076
Tritanopia (blue-blind)
#53394C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582978;
/* rgb */ color: rgb(88, 41, 120);
/* oklch */ color: oklch(38.5% 0.133 308.8);
Tailwind
colors: {
  custom: {
    50: '#8a669f',
    500: '#582978',
    950: '#000000',
  },
}
SCSS
$custom: #582978;
$custom-light: #8a669f;
$custom-dark: #000000;
JSON
{
  "hex": "#582978",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 275.696,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38465,
    "c": 0.1327,
    "h": 308.8
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#582978
secondary
#76AA53
accent
#D94F87
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582978

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

Preview Lab → · Contrast checker → · Palette generator →

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