#582EB9#582EB9

#582EB9 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.202 H 289.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#582EB9
RGBrgb(88, 46, 185)
HSLhsl(258, 60%, 45%)
HSVhsv(258, 75%, 73%)
CMYKcmyk(52.4%, 75.1%, 0%, 27.5%)
CIE-LABlab(32.99, 51.37, -66.28)
CIE-LCHlch(32.99, 83.86, 307.78°)
OKLaboklab(44.53% 0.0667 -0.1905)
OKLCHoklch(44.53% 0.202 289.3)
XYZxyz(13.7559, 7.5308, 46.6183)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EB9 #8FB92E
analogous
#2E4AB9 #582EB9 #9D2EB9
triadic
#582EB9 #B9582E #2EB958
tetradic
#582EB9 #B92E4A #8FB92E #2EB99D
square
#582EB9 #B92E4A #8FB92E #2EB99D
split-complementary
#582EB9 #B99D2E #4AB92E
monochromatic
#291657 #412288 #582EB9 #7851D4 #9E82E0

Accessibility & contrast

On white

8.38
#582EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#582EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EB9
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EB9#FFFFFF#000000##FFFFFF
##582EB91.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#335472
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #582eb9;
/* rgb */ color: rgb(88, 46, 185);
/* oklch */ color: oklch(44.5% 0.202 289.3);
Tailwind
colors: {
  custom: {
    50: '#916bcf',
    500: '#582eb9',
    950: '#000000',
  },
}
SCSS
$custom: #582eb9;
$custom-light: #916bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#582eb9",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 258.129,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.20185,
    "h": 289.3
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#582EB9
secondary
#B1C97A
accent
#E344B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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