#582EA5#582EA5

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

Color values

HEX#582EA5
RGBrgb(88, 46, 165)
HSLhsl(261, 56%, 41%)
HSVhsv(261, 72%, 65%)
CMYKcmyk(46.7%, 72.1%, 0%, 35.3%)
CIE-LABlab(31.22, 45.84, -57.23)
CIE-LCHlch(31.22, 73.32, 308.69°)
OKLaboklab(42.74% 0.0714 -0.164)
OKLCHoklch(42.74% 0.179 293.5)
XYZxyz(11.7912, 6.7449, 36.2707)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EA5 #7BA52E
analogous
#2E40A5 #582EA5 #942EA5
triadic
#582EA5 #A5582E #2EA558
tetradic
#582EA5 #A52E40 #7BA52E #2EA594
square
#582EA5 #A52E40 #7BA52E #2EA594
split-complementary
#582EA5 #A5942E #40A52E
monochromatic
#251345 #3E2175 #582EA5 #7445CB #9875D8

Accessibility & contrast

On white

8.94
#582EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#582EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EA5
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EA5#FFFFFF#000000##FFFFFF
##582EA51.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#414D66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582ea5;
/* rgb */ color: rgb(88, 46, 165);
/* oklch */ color: oklch(42.7% 0.179 293.5);
Tailwind
colors: {
  custom: {
    50: '#8e6ac1',
    500: '#582ea5',
    950: '#000000',
  },
}
SCSS
$custom: #582ea5;
$custom-light: #8e6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#582ea5",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 261.176,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.17883,
    "h": 293.5
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#582EA5
secondary
#A3C06F
accent
#E048AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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