#582DD3#582DD3

#582DD3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.232 H 285.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#582DD3
RGBrgb(88, 45, 211)
HSLhsl(256, 65%, 50%)
HSVhsv(256, 79%, 83%)
CMYKcmyk(58.3%, 78.7%, 0%, 17.3%)
CIE-LABlab(35.31, 58.98, -77.67)
CIE-LCHlch(35.31, 97.53, 307.21°)
OKLaboklab(46.9% 0.06 -0.2238)
OKLCHoklch(46.9% 0.232 285)
XYZxyz(16.7172, 8.6536, 62.4048)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DD3 #A8D32D
analogous
#2D55D3 #582DD3 #AB2DD3
triadic
#582DD3 #D3582D #2DD358
tetradic
#582DD3 #D32D55 #A8D32D #2DD3AB
square
#582DD3 #D32D55 #A8D32D #2DD3AB
split-complementary
#582DD3 #D3AB2D #55D32D
monochromatic
#2E176E #4322A1 #582DD3 #8060DE #A892E8

Accessibility & contrast

On white

7.69
#582DD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#582DD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DD3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DD3#FFFFFF#000000##FFFFFF
##582DD31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582dd3;
/* rgb */ color: rgb(88, 45, 211);
/* oklch */ color: oklch(46.9% 0.232 285.0);
Tailwind
colors: {
  custom: {
    50: '#956ce2',
    500: '#582dd3',
    950: '#000000',
  },
}
SCSS
$custom: #582dd3;
$custom-light: #956ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#582dd3",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 211
  },
  "hsl": {
    "h": 255.542,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.469,
    "c": 0.2317,
    "h": 285
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#582DD3
secondary
#C0D389
accent
#E83FBD
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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