#582EA9#582EA9

#582EA9 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.183 H 292.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#582EA9
RGBrgb(88, 46, 169)
HSLhsl(260, 57%, 42%)
HSVhsv(260, 73%, 66%)
CMYKcmyk(47.9%, 72.8%, 0%, 33.7%)
CIE-LABlab(31.56, 46.94, -59.08)
CIE-LCHlch(31.56, 75.46, 308.47°)
OKLaboklab(43.09% 0.0705 -0.1694)
OKLCHoklch(43.09% 0.183 292.6)
XYZxyz(12.1609, 6.8929, 38.2181)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EA9 #7FA92E
analogous
#2E42A9 #582EA9 #962EA9
triadic
#582EA9 #A9582E #2EA958
tetradic
#582EA9 #A92E42 #7FA92E #2EA996
square
#582EA9 #A92E42 #7FA92E #2EA996
split-complementary
#582EA9 #A9962E #42A92E
monochromatic
#261449 #3F2179 #582EA9 #7547CD #9977DA

Accessibility & contrast

On white

8.83
#582EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#582EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EA9
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EA9#FFFFFF#000000##FFFFFF
##582EA91.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#3F4E69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582ea9;
/* rgb */ color: rgb(88, 46, 169);
/* oklch */ color: oklch(43.1% 0.183 292.6);
Tailwind
colors: {
  custom: {
    50: '#8f6bc4',
    500: '#582ea9',
    950: '#000000',
  },
}
SCSS
$custom: #582ea9;
$custom-light: #8f6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#582ea9",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 260.488,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43087,
    "c": 0.18348,
    "h": 292.6
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#582EA9
secondary
#A6C271
accent
#E047AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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