#582B77#582B77

#582B77 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.128 H 308.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#582B77
RGBrgb(88, 43, 119)
HSLhsl(276, 47%, 32%)
HSVhsv(276, 64%, 47%)
CMYKcmyk(26.1%, 63.9%, 0%, 53.3%)
CIE-LABlab(27.11, 35.25, -35.45)
CIE-LCHlch(27.11, 49.99, 314.84°)
OKLaboklab(38.68% 0.0806 -0.0999)
OKLCHoklch(38.68% 0.128 308.9)
XYZxyz(8.2175, 5.1345, 18.0073)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582B77 #4A772B
analogous
#322B77 #582B77 #772B70
triadic
#582B77 #77582B #2B7758
tetradic
#582B77 #77322B #4A772B #2B7077
square
#582B77 #77322B #4A772B #2B7077
split-complementary
#582B77 #70772B #2B7732
monochromatic
#160B1D #371B4A #582B77 #793BA4 #9859C3

Accessibility & contrast

On white

10.36
#582B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#582B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582B77
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582B77#FFFFFF#000000##FFFFFF
##582B771.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083E79
Deuteranopia (green-blind)
#204175
Tritanopia (blue-blind)
#543A4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #582b77;
/* rgb */ color: rgb(88, 43, 119);
/* oklch */ color: oklch(38.7% 0.128 308.9);
Tailwind
colors: {
  custom: {
    50: '#8a679f',
    500: '#582b77',
    950: '#000000',
  },
}
SCSS
$custom: #582b77;
$custom-light: #8a679f;
$custom-dark: #000000;
JSON
{
  "hex": "#582b77",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 275.526,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38683,
    "c": 0.12842,
    "h": 308.9
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#582B77
secondary
#77A955
accent
#D75188
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582B77

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

Preview Lab → · Contrast checker → · Palette generator →

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