#582EA1#582EA1

#582EA1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.174 H 294.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#582EA1
RGBrgb(88, 46, 161)
HSLhsl(262, 56%, 41%)
HSVhsv(262, 71%, 63%)
CMYKcmyk(45.3%, 71.4%, 0%, 36.9%)
CIE-LABlab(30.88, 44.74, -55.36)
CIE-LCHlch(30.88, 71.18, 308.94°)
OKLaboklab(42.4% 0.0722 -0.1585)
OKLCHoklch(42.4% 0.174 294.5)
XYZxyz(11.4328, 6.6016, 34.3832)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EA1 #77A12E
analogous
#2E3DA1 #582EA1 #912EA1
triadic
#582EA1 #A1582E #2EA158
tetradic
#582EA1 #A12E3D #77A12E #2EA191
square
#582EA1 #A12E3D #77A12E #2EA191
split-complementary
#582EA1 #A1912E #3DA12E
monochromatic
#241342 #3E2071 #582EA1 #7443C9 #9773D7

Accessibility & contrast

On white

9.05
#582EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#582EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EA1
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EA1#FFFFFF#000000##FFFFFF
##582EA11.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#434B64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582ea1;
/* rgb */ color: rgb(88, 46, 161);
/* oklch */ color: oklch(42.4% 0.174 294.5);
Tailwind
colors: {
  custom: {
    50: '#8e6abe',
    500: '#582ea1',
    950: '#000000',
  },
}
SCSS
$custom: #582ea1;
$custom-light: #8e6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#582ea1",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 261.913,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.17415,
    "h": 294.5
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#582EA1
secondary
#A0BE6C
accent
#DF49A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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