#582EB3#582EB3

#582EB3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.195 H 290.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#582EB3
RGBrgb(88, 46, 179)
HSLhsl(259, 59%, 44%)
HSVhsv(259, 74%, 70%)
CMYKcmyk(50.8%, 74.3%, 0%, 29.8%)
CIE-LABlab(32.44, 49.71, -63.61)
CIE-LCHlch(32.44, 80.73, 308.00°)
OKLaboklab(43.98% 0.0682 -0.1827)
OKLCHoklch(43.98% 0.195 290.5)
XYZxyz(13.1358, 7.2828, 43.3527)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EB3 #89B32E
analogous
#2E47B3 #582EB3 #9B2EB3
triadic
#582EB3 #B3582E #2EB358
tetradic
#582EB3 #B32E47 #89B32E #2EB39B
square
#582EB3 #B32E47 #89B32E #2EB39B
split-complementary
#582EB3 #B39B2E #47B32E
monochromatic
#281552 #402182 #582EB3 #774DD1 #9C7EDE

Accessibility & contrast

On white

8.55
#582EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#582EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EB3
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EB3#FFFFFF#000000##FFFFFF
##582EB31.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#38526E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582eb3;
/* rgb */ color: rgb(88, 46, 179);
/* oklch */ color: oklch(44.0% 0.195 290.5);
Tailwind
colors: {
  custom: {
    50: '#906bcb',
    500: '#582eb3',
    950: '#000000',
  },
}
SCSS
$custom: #582eb3;
$custom-light: #906bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#582eb3",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 258.947,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4398,
    "c": 0.19501,
    "h": 290.5
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#582EB3
secondary
#ADC676
accent
#E246B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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