#582B8A#582B8A

#582B8A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.151 H 301.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#582B8A
RGBrgb(88, 43, 138)
HSLhsl(268, 52%, 35%)
HSVhsv(268, 69%, 54%)
CMYKcmyk(36.2%, 68.8%, 0%, 45.9%)
CIE-LABlab(28.48, 40.12, -45.17)
CIE-LCHlch(28.48, 60.41, 311.61°)
OKLaboklab(40.1% 0.0792 -0.1285)
OKLCHoklch(40.1% 0.151 301.6)
XYZxyz(9.4747, 5.6374, 24.6288)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582B8A #5D8A2B
analogous
#2B2D8A #582B8A #872B8A
triadic
#582B8A #8A582B #2B8A58
tetradic
#582B8A #8A2B2D #5D8A2B #2B8A87
square
#582B8A #8A2B2D #5D8A2B #2B8A87
split-complementary
#582B8A #8A872B #2D8A2B
monochromatic
#1C0E2D #3A1C5B #582B8A #763AB9 #9561CE

Accessibility & contrast

On white

9.87
#582B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#582B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582B8A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582B8A#FFFFFF#000000##FFFFFF
##582B8A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#4E4157
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582b8a;
/* rgb */ color: rgb(88, 43, 138);
/* oklch */ color: oklch(40.1% 0.151 301.6);
Tailwind
colors: {
  custom: {
    50: '#8b68ad',
    500: '#582b8a',
    950: '#000000',
  },
}
SCSS
$custom: #582b8a;
$custom-light: #8b68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#582b8a",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 268.421,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.15094,
    "h": 301.6
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#582B8A
secondary
#8BB45D
accent
#DC4C98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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