#582A78#582A78

#582A78 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.131 H 308.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#582A78
RGBrgb(88, 42, 120)
HSLhsl(275, 48%, 32%)
HSVhsv(275, 65%, 47%)
CMYKcmyk(26.7%, 65%, 0%, 52.9%)
CIE-LABlab(26.98, 36.05, -36.29)
CIE-LCHlch(26.98, 51.15, 314.81°)
OKLaboklab(38.61% 0.0819 -0.1024)
OKLCHoklch(38.61% 0.131 308.7)
XYZxyz(8.2420, 5.0868, 18.3133)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A78 #4A782A
analogous
#312A78 #582A78 #782A71
triadic
#582A78 #78582A #2A7858
tetradic
#582A78 #78312A #4A782A #2A7178
square
#582A78 #78312A #4A782A #2A7178
split-complementary
#582A78 #71782A #2A7831
monochromatic
#160A1D #371A4B #582A78 #793AA5 #9858C5

Accessibility & contrast

On white

10.41
#582A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#582A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A78
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A78#FFFFFF#000000##FFFFFF
##582A781.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7A
Deuteranopia (green-blind)
#1E4076
Tritanopia (blue-blind)
#533A4D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #582a78;
/* rgb */ color: rgb(88, 42, 120);
/* oklch */ color: oklch(38.6% 0.131 308.7);
Tailwind
colors: {
  custom: {
    50: '#8a669f',
    500: '#582a78',
    950: '#000000',
  },
}
SCSS
$custom: #582a78;
$custom-light: #8a669f;
$custom-dark: #000000;
JSON
{
  "hex": "#582a78",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 275.385,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38608,
    "c": 0.13116,
    "h": 308.7
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#582A78
secondary
#77AA54
accent
#D85088
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582A78

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

Preview Lab → · Contrast checker → · Palette generator →

#582A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva