#582EAA#582EAA

#582EAA is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.185 H 292.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#582EAA
RGBrgb(88, 46, 170)
HSLhsl(260, 57%, 42%)
HSVhsv(260, 73%, 67%)
CMYKcmyk(48.2%, 72.9%, 0%, 33.3%)
CIE-LABlab(31.65, 47.22, -59.54)
CIE-LCHlch(31.65, 75.99, 308.42°)
OKLaboklab(43.18% 0.0703 -0.1707)
OKLCHoklch(43.18% 0.185 292.4)
XYZxyz(12.2552, 6.9306, 38.7144)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EAA #80AA2E
analogous
#2E42AA #582EAA #962EAA
triadic
#582EAA #AA582E #2EAA58
tetradic
#582EAA #AA2E42 #80AA2E #2EAA96
square
#582EAA #AA2E42 #80AA2E #2EAA96
split-complementary
#582EAA #AA962E #42AA2E
monochromatic
#26144A #3F217A #582EAA #7548CD #9978DA

Accessibility & contrast

On white

8.80
#582EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582EAA
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EAA#FFFFFF#000000##FFFFFF
##582EAA1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#3E4E69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582eaa;
/* rgb */ color: rgb(88, 46, 170);
/* oklch */ color: oklch(43.2% 0.185 292.4);
Tailwind
colors: {
  custom: {
    50: '#8f6bc4',
    500: '#582eaa',
    950: '#000000',
  },
}
SCSS
$custom: #582eaa;
$custom-light: #8f6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#582eaa",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 260.323,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43175,
    "c": 0.18464,
    "h": 292.4
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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