#582EC0#582EC0

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

Color values

HEX#582EC0
RGBrgb(88, 46, 192)
HSLhsl(257, 61%, 47%)
HSVhsv(257, 76%, 75%)
CMYKcmyk(54.2%, 76%, 0%, 24.7%)
CIE-LABlab(33.63, 53.31, -69.35)
CIE-LCHlch(33.63, 87.47, 307.55°)
OKLaboklab(45.18% 0.0648 -0.1995)
OKLCHoklch(45.18% 0.21 288)
XYZxyz(14.5131, 7.8337, 50.6063)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EC0 #96C02E
analogous
#2E4DC0 #582EC0 #A12EC0
triadic
#582EC0 #C0582E #2EC058
tetradic
#582EC0 #C02E4D #96C02E #2EC0A1
square
#582EC0 #C02E4D #96C02E #2EC0A1
split-complementary
#582EC0 #C0A12E #4DC02E
monochromatic
#2B165D #41228F #582EC0 #7A55D6 #A186E2

Accessibility & contrast

On white

8.18
#582EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#582EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EC0
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EC0#FFFFFF#000000##FFFFFF
##582EC01.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#2D5776
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #582ec0;
/* rgb */ color: rgb(88, 46, 192);
/* oklch */ color: oklch(45.2% 0.210 288.0);
Tailwind
colors: {
  custom: {
    50: '#926cd4',
    500: '#582ec0',
    950: '#000000',
  },
}
SCSS
$custom: #582ec0;
$custom-light: #926cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#582ec0",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 257.26,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45181,
    "c": 0.20975,
    "h": 288
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#582EC0
secondary
#B5CC7E
accent
#E443B6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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