#582EB4#582EB4

#582EB4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.196 H 290.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#582EB4
RGBrgb(88, 46, 180)
HSLhsl(259, 59%, 44%)
HSVhsv(259, 74%, 71%)
CMYKcmyk(51.1%, 74.4%, 0%, 29.4%)
CIE-LABlab(32.53, 49.98, -64.06)
CIE-LCHlch(32.53, 81.25, 307.96°)
OKLaboklab(44.07% 0.0679 -0.184)
OKLCHoklch(44.07% 0.196 290.3)
XYZxyz(13.2373, 7.3234, 43.8872)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EB4 #8AB42E
analogous
#2E47B4 #582EB4 #9B2EB4
triadic
#582EB4 #B4582E #2EB458
tetradic
#582EB4 #B42E47 #8AB42E #2EB49B
square
#582EB4 #B42E47 #8AB42E #2EB49B
split-complementary
#582EB4 #B49B2E #47B42E
monochromatic
#281553 #402283 #582EB4 #774ED2 #9C7EDE

Accessibility & contrast

On white

8.52
#582EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#582EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EB4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EB4#FFFFFF#000000##FFFFFF
##582EB41.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#37526F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #582eb4;
/* rgb */ color: rgb(88, 46, 180);
/* oklch */ color: oklch(44.1% 0.196 290.3);
Tailwind
colors: {
  custom: {
    50: '#906bcc',
    500: '#582eb4',
    950: '#000000',
  },
}
SCSS
$custom: #582eb4;
$custom-light: #906bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#582eb4",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 258.806,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44071,
    "c": 0.19615,
    "h": 290.3
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#582EB4
secondary
#AEC777
accent
#E245B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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