#582EA4#582EA4

#582EA4 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.178 H 293.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#582EA4
RGBrgb(88, 46, 164)
HSLhsl(261, 56%, 41%)
HSVhsv(261, 72%, 64%)
CMYKcmyk(46.3%, 72%, 0%, 35.7%)
CIE-LABlab(31.13, 45.56, -56.76)
CIE-LCHlch(31.13, 72.79, 308.75°)
OKLaboklab(42.65% 0.0716 -0.1626)
OKLCHoklch(42.65% 0.178 293.8)
XYZxyz(11.7005, 6.7087, 35.7932)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EA4 #7AA42E
analogous
#2E3FA4 #582EA4 #932EA4
triadic
#582EA4 #A4582E #2EA458
tetradic
#582EA4 #A42E3F #7AA42E #2EA493
square
#582EA4 #A42E3F #7AA42E #2EA493
split-complementary
#582EA4 #A4932E #3FA42E
monochromatic
#251344 #3E2174 #582EA4 #7445CB #9874D8

Accessibility & contrast

On white

8.97
#582EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#582EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EA4
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EA4#FFFFFF#000000##FFFFFF
##582EA41.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#424C66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582ea4;
/* rgb */ color: rgb(88, 46, 164);
/* oklch */ color: oklch(42.7% 0.178 293.8);
Tailwind
colors: {
  custom: {
    50: '#8e6ac0',
    500: '#582ea4',
    950: '#000000',
  },
}
SCSS
$custom: #582ea4;
$custom-light: #8e6ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#582ea4",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 261.356,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.17765,
    "h": 293.8
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#582EA4
secondary
#A3C06E
accent
#DF48AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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