#582EA6#582EA6

#582EA6 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.180 H 293.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#582EA6
RGBrgb(88, 46, 166)
HSLhsl(261, 57%, 42%)
HSVhsv(261, 72%, 65%)
CMYKcmyk(47%, 72.3%, 0%, 34.9%)
CIE-LABlab(31.30, 46.11, -57.69)
CIE-LCHlch(31.30, 73.86, 308.63°)
OKLaboklab(42.83% 0.0712 -0.1653)
OKLCHoklch(42.83% 0.18 293.3)
XYZxyz(11.8825, 6.7815, 36.7519)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EA6 #7CA62E
analogous
#2E40A6 #582EA6 #942EA6
triadic
#582EA6 #A6582E #2EA658
tetradic
#582EA6 #A62E40 #7CA62E #2EA694
square
#582EA6 #A62E40 #7CA62E #2EA694
split-complementary
#582EA6 #A6942E #40A62E
monochromatic
#251346 #3F2176 #582EA6 #7446CC #9876D9

Accessibility & contrast

On white

8.91
#582EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#582EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EA6
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EA6#FFFFFF#000000##FFFFFF
##582EA61.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#414D67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582ea6;
/* rgb */ color: rgb(88, 46, 166);
/* oklch */ color: oklch(42.8% 0.180 293.3);
Tailwind
colors: {
  custom: {
    50: '#8e6ac1',
    500: '#582ea6',
    950: '#000000',
  },
}
SCSS
$custom: #582ea6;
$custom-light: #8e6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#582ea6",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 261,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42825,
    "c": 0.17999,
    "h": 293.3
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#582EA6
secondary
#A4C16F
accent
#E048AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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