#582DDC#582DDC

#582DDC is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.241 H 283.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#582DDC
RGBrgb(88, 45, 220)
HSLhsl(255, 71%, 52%)
HSVhsv(255, 80%, 86%)
CMYKcmyk(60%, 79.5%, 0%, 13.7%)
CIE-LABlab(36.21, 61.44, -81.37)
CIE-LCHlch(36.21, 101.96, 307.05°)
OKLaboklab(47.79% 0.0573 -0.2346)
OKLCHoklch(47.79% 0.241 283.7)
XYZxyz(17.8772, 9.1176, 68.5141)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DDC #B1DC2D
analogous
#2D5ADC #582DDC #B02DDC
triadic
#582DDC #DC582D #2DDC58
tetradic
#582DDC #DC2D5A #B1DC2D #2DDCB0
square
#582DDC #DC2D5A #B1DC2D #2DDCB0
split-complementary
#582DDC #DCB02D #5ADC2D
monochromatic
#2D147A #411DAF #582DDC #8261E5 #AB96ED

Accessibility & contrast

On white

7.44
#582DDC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#582DDC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DDC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DDC#FFFFFF#000000##FFFFFF
##582DDC1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE1
Deuteranopia (green-blind)
#004FD9
Tritanopia (blue-blind)
#006285
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #582ddc;
/* rgb */ color: rgb(88, 45, 220);
/* oklch */ color: oklch(47.8% 0.241 283.7);
Tailwind
colors: {
  custom: {
    50: '#976de8',
    500: '#582ddc',
    950: '#000000',
  },
}
SCSS
$custom: #582ddc;
$custom-light: #976de8;
$custom-dark: #000000;
JSON
{
  "hex": "#582ddc",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 220
  },
  "hsl": {
    "h": 254.743,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47793,
    "c": 0.24147,
    "h": 283.7
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#582DDC
secondary
#C6D98C
accent
#EE3AC2
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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