#582ED3#582ED3

#582ED3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.231 H 284.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#582ED3
RGBrgb(88, 46, 211)
HSLhsl(255, 65%, 50%)
HSVhsv(255, 78%, 83%)
CMYKcmyk(58.3%, 78.2%, 0%, 17.3%)
CIE-LABlab(35.46, 58.54, -77.42)
CIE-LCHlch(35.46, 97.06, 307.10°)
OKLaboklab(47.01% 0.0594 -0.2231)
OKLCHoklch(47.01% 0.231 284.9)
XYZxyz(16.7558, 8.7308, 62.4177)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582ED3 #A9D32E
analogous
#2E56D3 #582ED3 #AB2ED3
triadic
#582ED3 #D3582E #2ED358
tetradic
#582ED3 #D32E56 #A9D32E #2ED3AB
square
#582ED3 #D32E56 #A9D32E #2ED3AB
split-complementary
#582ED3 #D3AB2E #56D32E
monochromatic
#2E176F #4322A2 #582ED3 #8061DE #A993E8

Accessibility & contrast

On white

7.65
#582ED3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#582ED3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582ED3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582ED3#FFFFFF#000000##FFFFFF
##582ED31.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D8
Deuteranopia (green-blind)
#004ED0
Tritanopia (blue-blind)
#0D5F80
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #582ed3;
/* rgb */ color: rgb(88, 46, 211);
/* oklch */ color: oklch(47.0% 0.231 284.9);
Tailwind
colors: {
  custom: {
    50: '#956de2',
    500: '#582ed3',
    950: '#000000',
  },
}
SCSS
$custom: #582ed3;
$custom-light: #956de2;
$custom-dark: #000000;
JSON
{
  "hex": "#582ed3",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 255.273,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47006,
    "c": 0.23085,
    "h": 284.9
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#582ED3
secondary
#C0D38A
accent
#E840BD
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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