#582DD4#582DD4

#582DD4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.233 H 284.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#582DD4
RGBrgb(88, 45, 212)
HSLhsl(255, 66%, 50%)
HSVhsv(255, 79%, 83%)
CMYKcmyk(58.5%, 78.8%, 0%, 16.9%)
CIE-LABlab(35.41, 59.26, -78.08)
CIE-LCHlch(35.41, 98.02, 307.20°)
OKLaboklab(47% 0.0597 -0.225)
OKLCHoklch(47% 0.233 284.9)
XYZxyz(16.8429, 8.7039, 63.0671)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DD4 #A9D42D
analogous
#2D55D4 #582DD4 #AB2DD4
triadic
#582DD4 #D4582D #2DD458
tetradic
#582DD4 #D42D55 #A9D42D #2DD4AB
square
#582DD4 #D42D55 #A9D42D #2DD4AB
split-complementary
#582DD4 #D4AB2D #55D42D
monochromatic
#2E1770 #4321A3 #582DD4 #8060DE #A993E9

Accessibility & contrast

On white

7.66
#582DD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#582DD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DD4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DD4#FFFFFF#000000##FFFFFF
##582DD41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D9
Deuteranopia (green-blind)
#004ED1
Tritanopia (blue-blind)
#095F81
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #582dd4;
/* rgb */ color: rgb(88, 45, 212);
/* oklch */ color: oklch(47.0% 0.233 284.9);
Tailwind
colors: {
  custom: {
    50: '#956ce3',
    500: '#582dd4',
    950: '#000000',
  },
}
SCSS
$custom: #582dd4;
$custom-light: #956ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#582dd4",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 212
  },
  "hsl": {
    "h": 255.449,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46998,
    "c": 0.2328,
    "h": 284.9
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#582DD4
secondary
#C0D489
accent
#E93FBD
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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