#582DCC#582DCC

#582DCC is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.224 H 286.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#582DCC
RGBrgb(88, 45, 204)
HSLhsl(256, 64%, 49%)
HSVhsv(256, 78%, 80%)
CMYKcmyk(56.9%, 77.9%, 0%, 20%)
CIE-LABlab(34.62, 57.07, -74.74)
CIE-LCHlch(34.62, 94.04, 307.36°)
OKLaboklab(46.22% 0.0621 -0.2152)
OKLCHoklch(46.22% 0.224 286.1)
XYZxyz(15.8587, 8.3102, 57.8834)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DCC #A1CC2D
analogous
#2D52CC #582DCC #A82DCC
triadic
#582DCC #CC582D #2DCC58
tetradic
#582DCC #CC2D52 #A1CC2D #2DCCA8
square
#582DCC #CC2D52 #A1CC2D #2DCCA8
split-complementary
#582DCC #CCA82D #52CC2D
monochromatic
#2D1768 #42229A #582DCC #7E5BDB #A58DE6

Accessibility & contrast

On white

7.89
#582DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#582DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DCC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DCC#FFFFFF#000000##FFFFFF
##582DCC1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#1D5C7C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #582dcc;
/* rgb */ color: rgb(88, 45, 204);
/* oklch */ color: oklch(46.2% 0.224 286.1);
Tailwind
colors: {
  custom: {
    50: '#946cdd',
    500: '#582dcc',
    950: '#000000',
  },
}
SCSS
$custom: #582dcc;
$custom-light: #946cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#582dcc",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 256.226,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46216,
    "c": 0.22403,
    "h": 286.1
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#582DCC
secondary
#BCD085
accent
#E741BA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0715
muted
#7E7A83

Preview Lab

Preview with #582DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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