#582EA3#582EA3

#582EA3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.176 H 294.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#582EA3
RGBrgb(88, 46, 163)
HSLhsl(262, 56%, 41%)
HSVhsv(262, 72%, 64%)
CMYKcmyk(46%, 71.8%, 0%, 36.1%)
CIE-LABlab(31.05, 45.29, -56.30)
CIE-LCHlch(31.05, 72.25, 308.81°)
OKLaboklab(42.57% 0.0718 -0.1612)
OKLCHoklch(42.57% 0.176 294)
XYZxyz(11.6106, 6.6727, 35.3195)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EA3 #79A32E
analogous
#2E3FA3 #582EA3 #922EA3
triadic
#582EA3 #A3582E #2EA358
tetradic
#582EA3 #A32E3F #79A32E #2EA392
square
#582EA3 #A32E3F #79A32E #2EA392
split-complementary
#582EA3 #A3922E #3FA32E
monochromatic
#241344 #3E2173 #582EA3 #7444CA #9874D8

Accessibility & contrast

On white

9.00
#582EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#582EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EA3
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EA3#FFFFFF#000000##FFFFFF
##582EA31.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#424C65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582ea3;
/* rgb */ color: rgb(88, 46, 163);
/* oklch */ color: oklch(42.6% 0.176 294.0);
Tailwind
colors: {
  custom: {
    50: '#8e6abf',
    500: '#582ea3',
    950: '#000000',
  },
}
SCSS
$custom: #582ea3;
$custom-light: #8e6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#582ea3",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 261.538,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42566,
    "c": 0.17648,
    "h": 294
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#582EA3
secondary
#A2BF6D
accent
#DF49A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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