#582DC3#582DC3

#582DC3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.214 H 287.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#582DC3
RGBrgb(88, 45, 195)
HSLhsl(257, 63%, 47%)
HSVhsv(257, 77%, 76%)
CMYKcmyk(54.9%, 76.9%, 0%, 23.5%)
CIE-LABlab(33.75, 54.60, -70.91)
CIE-LCHlch(33.75, 89.49, 307.60°)
OKLaboklab(45.35% 0.0647 -0.204)
OKLCHoklch(45.35% 0.214 287.6)
XYZxyz(14.8103, 7.8908, 52.3619)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DC3 #98C32D
analogous
#2D4DC3 #582DC3 #A32DC3
triadic
#582DC3 #C3582D #2DC358
tetradic
#582DC3 #C32D4D #98C32D #2DC3A3
square
#582DC3 #C32D4D #98C32D #2DC3A3
split-complementary
#582DC3 #C3A32D #4DC32D
monochromatic
#2B1660 #422291 #582DC3 #7B55D8 #A287E3

Accessibility & contrast

On white

8.14
#582DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#582DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DC3
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DC3#FFFFFF#000000##FFFFFF
##582DC31.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#2A5877
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #582dc3;
/* rgb */ color: rgb(88, 45, 195);
/* oklch */ color: oklch(45.4% 0.214 287.6);
Tailwind
colors: {
  custom: {
    50: '#936bd6',
    500: '#582dc3',
    950: '#000000',
  },
}
SCSS
$custom: #582dc3;
$custom-light: #936bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#582dc3",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 257.2,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.21406,
    "h": 287.6
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#582DC3
secondary
#B7CD7F
accent
#E642B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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