#582EB6#582EB6

#582EB6 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.198 H 289.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#582EB6
RGBrgb(88, 46, 182)
HSLhsl(259, 60%, 45%)
HSVhsv(259, 75%, 71%)
CMYKcmyk(51.6%, 74.7%, 0%, 28.6%)
CIE-LABlab(32.71, 50.54, -64.95)
CIE-LCHlch(32.71, 82.30, 307.89°)
OKLaboklab(44.25% 0.0674 -0.1866)
OKLCHoklch(44.25% 0.198 289.9)
XYZxyz(13.4426, 7.4055, 44.9680)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EB6 #8CB62E
analogous
#2E48B6 #582EB6 #9C2EB6
triadic
#582EB6 #B6582E #2EB658
tetradic
#582EB6 #B62E48 #8CB62E #2EB69C
square
#582EB6 #B62E48 #8CB62E #2EB69C
split-complementary
#582EB6 #B69C2E #48B62E
monochromatic
#291554 #402285 #582EB6 #774FD2 #9D80DF

Accessibility & contrast

On white

8.46
#582EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#582EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EB6
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EB6#FFFFFF#000000##FFFFFF
##582EB61.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#365370
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #582eb6;
/* rgb */ color: rgb(88, 46, 182);
/* oklch */ color: oklch(44.3% 0.198 289.9);
Tailwind
colors: {
  custom: {
    50: '#916bcd',
    500: '#582eb6',
    950: '#000000',
  },
}
SCSS
$custom: #582eb6;
$custom-light: #916bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#582eb6",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 258.529,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.19843,
    "h": 289.9
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#582EB6
secondary
#AFC878
accent
#E345B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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