#582EA8#582EA8

#582EA8 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.182 H 292.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#582EA8
RGBrgb(88, 46, 168)
HSLhsl(261, 57%, 42%)
HSVhsv(261, 73%, 66%)
CMYKcmyk(47.6%, 72.6%, 0%, 34.1%)
CIE-LABlab(31.48, 46.66, -58.62)
CIE-LCHlch(31.48, 74.92, 308.52°)
OKLaboklab(43% 0.0707 -0.168)
OKLCHoklch(43% 0.182 292.8)
XYZxyz(12.0674, 6.8555, 37.7256)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EA8 #7EA82E
analogous
#2E41A8 #582EA8 #952EA8
triadic
#582EA8 #A8582E #2EA858
tetradic
#582EA8 #A82E41 #7EA82E #2EA895
square
#582EA8 #A82E41 #7EA82E #2EA895
split-complementary
#582EA8 #A8952E #41A82E
monochromatic
#261448 #3F2178 #582EA8 #7547CD #9977DA

Accessibility & contrast

On white

8.86
#582EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#582EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EA8
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EA8#FFFFFF#000000##FFFFFF
##582EA81.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#3F4E68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582ea8;
/* rgb */ color: rgb(88, 46, 168);
/* oklch */ color: oklch(43.0% 0.182 292.8);
Tailwind
colors: {
  custom: {
    50: '#8f6bc3',
    500: '#582ea8',
    950: '#000000',
  },
}
SCSS
$custom: #582ea8;
$custom-light: #8f6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#582ea8",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 260.656,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43,
    "c": 0.18232,
    "h": 292.8
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#582EA8
secondary
#A6C270
accent
#E048AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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