#582CD3#582CD3

#582CD3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.233 H 285.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#582CD3
RGBrgb(88, 44, 211)
HSLhsl(256, 65%, 50%)
HSVhsv(256, 79%, 83%)
CMYKcmyk(58.3%, 79.1%, 0%, 17.3%)
CIE-LABlab(35.16, 59.42, -77.91)
CIE-LCHlch(35.16, 97.98, 307.33°)
OKLaboklab(46.8% 0.0606 -0.2245)
OKLCHoklch(46.8% 0.233 285.1)
XYZxyz(16.6795, 8.5782, 62.3922)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CD3 #A7D32C
analogous
#2C54D3 #582CD3 #AB2CD3
triadic
#582CD3 #D3582C #2CD358
tetradic
#582CD3 #D32C54 #A7D32C #2CD3AB
square
#582CD3 #D32C54 #A7D32C #2CD3AB
split-complementary
#582CD3 #D3AB2C #54D32C
monochromatic
#2E176E #4321A0 #582CD3 #805FDE #A891E8

Accessibility & contrast

On white

7.73
#582CD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#582CD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CD3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CD3#FFFFFF#000000##FFFFFF
##582CD31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D8
Deuteranopia (green-blind)
#004DD0
Tritanopia (blue-blind)
#0D5E80
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #582cd3;
/* rgb */ color: rgb(88, 44, 211);
/* oklch */ color: oklch(46.8% 0.233 285.1);
Tailwind
colors: {
  custom: {
    50: '#956ce2',
    500: '#582cd3',
    950: '#000000',
  },
}
SCSS
$custom: #582cd3;
$custom-light: #956ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#582cd3",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 211
  },
  "hsl": {
    "h": 255.808,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.23254,
    "h": 285.1
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#582CD3
secondary
#BFD388
accent
#E83FBC
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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