#582EB2#582EB2

#582EB2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.194 H 290.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#582EB2
RGBrgb(88, 46, 178)
HSLhsl(259, 59%, 44%)
HSVhsv(259, 74%, 70%)
CMYKcmyk(50.6%, 74.2%, 0%, 30.2%)
CIE-LABlab(32.35, 49.43, -63.17)
CIE-LCHlch(32.35, 80.21, 308.05°)
OKLaboklab(43.89% 0.0684 -0.1814)
OKLCHoklch(43.89% 0.194 290.7)
XYZxyz(13.0351, 7.2425, 42.8220)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EB2 #88B22E
analogous
#2E46B2 #582EB2 #9A2EB2
triadic
#582EB2 #B2582E #2EB258
tetradic
#582EB2 #B22E46 #88B22E #2EB29A
square
#582EB2 #B22E46 #88B22E #2EB29A
split-complementary
#582EB2 #B29A2E #46B22E
monochromatic
#281551 #402181 #582EB2 #774CD1 #9C7DDD

Accessibility & contrast

On white

8.58
#582EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#582EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EB2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EB2#FFFFFF#000000##FFFFFF
##582EB21.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#39526E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582eb2;
/* rgb */ color: rgb(88, 46, 178);
/* oklch */ color: oklch(43.9% 0.194 290.7);
Tailwind
colors: {
  custom: {
    50: '#906bca',
    500: '#582eb2',
    950: '#000000',
  },
}
SCSS
$custom: #582eb2;
$custom-light: #906bca;
$custom-dark: #000000;
JSON
{
  "hex": "#582eb2",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 259.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4389,
    "c": 0.19386,
    "h": 290.7
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#582EB2
secondary
#ACC676
accent
#E246B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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