#582EAB#582EAB

#582EAB is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.186 H 292.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#582EAB
RGBrgb(88, 46, 171)
HSLhsl(260, 58%, 43%)
HSVhsv(260, 73%, 67%)
CMYKcmyk(48.5%, 73.1%, 0%, 32.9%)
CIE-LABlab(31.74, 47.49, -59.99)
CIE-LCHlch(31.74, 76.52, 308.37°)
OKLaboklab(43.26% 0.0701 -0.1721)
OKLCHoklch(43.26% 0.186 292.2)
XYZxyz(12.3501, 6.9685, 39.2145)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EAB #81AB2E
analogous
#2E42AB #582EAB #972EAB
triadic
#582EAB #AB582E #2EAB58
tetradic
#582EAB #AB2E42 #81AB2E #2EAB97
square
#582EAB #AB2E42 #81AB2E #2EAB97
split-complementary
#582EAB #AB972E #42AB2E
monochromatic
#26144B #3F217B #582EAB #7548CE #9A79DB

Accessibility & contrast

On white

8.77
#582EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#582EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EAB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EAB#FFFFFF#000000##FFFFFF
##582EAB1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#3E4F6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582eab;
/* rgb */ color: rgb(88, 46, 171);
/* oklch */ color: oklch(43.3% 0.186 292.2);
Tailwind
colors: {
  custom: {
    50: '#8f6bc5',
    500: '#582eab',
    950: '#000000',
  },
}
SCSS
$custom: #582eab;
$custom-light: #8f6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#582eab",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 260.16,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.1858,
    "h": 292.2
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#582EAB
secondary
#A8C372
accent
#E147AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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