#582CD4#582CD4

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

Color values

HEX#582CD4
RGBrgb(88, 44, 212)
HSLhsl(256, 66%, 50%)
HSVhsv(256, 79%, 83%)
CMYKcmyk(58.5%, 79.2%, 0%, 16.9%)
CIE-LABlab(35.26, 59.69, -78.33)
CIE-LCHlch(35.26, 98.48, 307.31°)
OKLaboklab(46.9% 0.0603 -0.2257)
OKLCHoklch(46.9% 0.234 285)
XYZxyz(16.8052, 8.6285, 63.0545)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CD4 #A8D42C
analogous
#2C54D4 #582CD4 #AC2CD4
triadic
#582CD4 #D4582C #2CD458
tetradic
#582CD4 #D42C54 #A8D42C #2CD4AC
square
#582CD4 #D42C54 #A8D42C #2CD4AC
split-complementary
#582CD4 #D4AC2C #54D42C
monochromatic
#2E176F #4321A2 #582CD4 #805FDE #A892E9

Accessibility & contrast

On white

7.70
#582CD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582CD4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CD4#FFFFFF#000000##FFFFFF
##582CD41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#004ED1
Tritanopia (blue-blind)
#0A5E81
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #582cd4;
/* rgb */ color: rgb(88, 44, 212);
/* oklch */ color: oklch(46.9% 0.234 285.0);
Tailwind
colors: {
  custom: {
    50: '#956ce3',
    500: '#582cd4',
    950: '#000000',
  },
}
SCSS
$custom: #582cd4;
$custom-light: #956ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#582cd4",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 255.714,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46895,
    "c": 0.23362,
    "h": 285
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#582CD4
secondary
#C0D388
accent
#E93FBC
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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