#582BC4#582BC4

#582BC4 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.217 H 287.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#582BC4
RGBrgb(88, 43, 196)
HSLhsl(258, 64%, 47%)
HSVhsv(258, 78%, 77%)
CMYKcmyk(55.1%, 78.1%, 0%, 23.1%)
CIE-LABlab(33.54, 55.78, -71.86)
CIE-LCHlch(33.54, 90.96, 307.82°)
OKLaboklab(45.23% 0.0658 -0.2068)
OKLCHoklch(45.23% 0.217 287.6)
XYZxyz(14.8492, 7.7872, 52.9345)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BC4 #97C42B
analogous
#2B4BC4 #582BC4 #A52BC4
triadic
#582BC4 #C4582B #2BC458
tetradic
#582BC4 #C42B4B #97C42B #2BC4A5
square
#582BC4 #C42B4B #97C42B #2BC4A5
split-complementary
#582BC4 #C4A52B #4BC42B
monochromatic
#2B1560 #412092 #582BC4 #7A53D9 #A185E4

Accessibility & contrast

On white

8.21
#582BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#582BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BC4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BC4#FFFFFF#000000##FFFFFF
##582BC41.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#295777
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #582bc4;
/* rgb */ color: rgb(88, 43, 196);
/* oklch */ color: oklch(45.2% 0.217 287.6);
Tailwind
colors: {
  custom: {
    50: '#936ad7',
    500: '#582bc4',
    950: '#000000',
  },
}
SCSS
$custom: #582bc4;
$custom-light: #936ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#582bc4",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 257.647,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45227,
    "c": 0.21701,
    "h": 287.6
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#582BC4
secondary
#B6CE7D
accent
#E741B6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #582BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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