#582EB7#582EB7

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

Color values

HEX#582EB7
RGBrgb(88, 46, 183)
HSLhsl(258, 60%, 45%)
HSVhsv(258, 75%, 72%)
CMYKcmyk(51.9%, 74.9%, 0%, 28.2%)
CIE-LABlab(32.80, 50.81, -65.40)
CIE-LCHlch(32.80, 82.82, 307.85°)
OKLaboklab(44.35% 0.0672 -0.1879)
OKLCHoklch(44.35% 0.2 289.7)
XYZxyz(13.5463, 7.4470, 45.5142)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EB7 #8DB72E
analogous
#2E49B7 #582EB7 #9C2EB7
triadic
#582EB7 #B7582E #2EB758
tetradic
#582EB7 #B72E49 #8DB72E #2EB79C
square
#582EB7 #B72E49 #8DB72E #2EB79C
split-complementary
#582EB7 #B79C2E #49B72E
monochromatic
#291555 #402286 #582EB7 #784FD3 #9D80DF

Accessibility & contrast

On white

8.44
#582EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#582EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EB7
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EB7#FFFFFF#000000##FFFFFF
##582EB71.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#355470
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #582eb7;
/* rgb */ color: rgb(88, 46, 183);
/* oklch */ color: oklch(44.3% 0.200 289.7);
Tailwind
colors: {
  custom: {
    50: '#916bce',
    500: '#582eb7',
    950: '#000000',
  },
}
SCSS
$custom: #582eb7;
$custom-light: #916bce;
$custom-dark: #000000;
JSON
{
  "hex": "#582eb7",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 258.394,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.19957,
    "h": 289.7
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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