#582EA2#582EA2

#582EA2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.175 H 294.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#582EA2
RGBrgb(88, 46, 162)
HSLhsl(262, 56%, 41%)
HSVhsv(262, 72%, 64%)
CMYKcmyk(45.7%, 71.6%, 0%, 36.5%)
CIE-LABlab(30.97, 45.01, -55.83)
CIE-LCHlch(30.97, 71.72, 308.88°)
OKLaboklab(42.48% 0.072 -0.1599)
OKLCHoklch(42.48% 0.175 294.2)
XYZxyz(11.5213, 6.6370, 34.8494)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EA2 #78A22E
analogous
#2E3EA2 #582EA2 #922EA2
triadic
#582EA2 #A2582E #2EA258
tetradic
#582EA2 #A22E3E #78A22E #2EA292
square
#582EA2 #A22E3E #78A22E #2EA292
split-complementary
#582EA2 #A2922E #3EA22E
monochromatic
#241343 #3E2072 #582EA2 #7443CA #9773D7

Accessibility & contrast

On white

9.02
#582EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582EA2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EA2#FFFFFF#000000##FFFFFF
##582EA21.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#434B65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582ea2;
/* rgb */ color: rgb(88, 46, 162);
/* oklch */ color: oklch(42.5% 0.175 294.2);
Tailwind
colors: {
  custom: {
    50: '#8e6abe',
    500: '#582ea2',
    950: '#000000',
  },
}
SCSS
$custom: #582ea2;
$custom-light: #8e6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#582ea2",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 261.724,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.17531,
    "h": 294.2
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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