#582EA7#582EA7

#582EA7 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.181 H 293.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#582EA7
RGBrgb(88, 46, 167)
HSLhsl(261, 57%, 42%)
HSVhsv(261, 72%, 65%)
CMYKcmyk(47.3%, 72.5%, 0%, 34.5%)
CIE-LABlab(31.39, 46.39, -58.16)
CIE-LCHlch(31.39, 74.39, 308.58°)
OKLaboklab(42.91% 0.0709 -0.1667)
OKLCHoklch(42.91% 0.181 293.1)
XYZxyz(11.9746, 6.8183, 37.2369)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EA7 #7DA72E
analogous
#2E41A7 #582EA7 #952EA7
triadic
#582EA7 #A7582E #2EA758
tetradic
#582EA7 #A72E41 #7DA72E #2EA795
square
#582EA7 #A72E41 #7DA72E #2EA795
split-complementary
#582EA7 #A7952E #41A72E
monochromatic
#251447 #3F2177 #582EA7 #7546CC #9976D9

Accessibility & contrast

On white

8.88
#582EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582EA7
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EA7#FFFFFF#000000##FFFFFF
##582EA71.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#404D67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582ea7;
/* rgb */ color: rgb(88, 46, 167);
/* oklch */ color: oklch(42.9% 0.181 293.1);
Tailwind
colors: {
  custom: {
    50: '#8f6bc2',
    500: '#582ea7',
    950: '#000000',
  },
}
SCSS
$custom: #582ea7;
$custom-light: #8f6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#582ea7",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 260.826,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.18116,
    "h": 293.1
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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