#582EBA#582EBA

#582EBA is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.203 H 289.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#582EBA
RGBrgb(88, 46, 186)
HSLhsl(258, 60%, 45%)
HSVhsv(258, 75%, 73%)
CMYKcmyk(52.7%, 75.3%, 0%, 27.1%)
CIE-LABlab(33.08, 51.64, -66.72)
CIE-LCHlch(33.08, 84.37, 307.74°)
OKLaboklab(44.62% 0.0664 -0.1918)
OKLCHoklch(44.62% 0.203 289.1)
XYZxyz(13.8618, 7.5732, 47.1762)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EBA #90BA2E
analogous
#2E4ABA #582EBA #9E2EBA
triadic
#582EBA #BA582E #2EBA58
tetradic
#582EBA #BA2E4A #90BA2E #2EBA9E
square
#582EBA #BA2E4A #90BA2E #2EBA9E
split-complementary
#582EBA #BA9E2E #4ABA2E
monochromatic
#2A1658 #412289 #582EBA #7851D4 #9E82E0

Accessibility & contrast

On white

8.35
#582EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#582EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EBA
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EBA#FFFFFF#000000##FFFFFF
##582EBA1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#335572
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #582eba;
/* rgb */ color: rgb(88, 46, 186);
/* oklch */ color: oklch(44.6% 0.203 289.1);
Tailwind
colors: {
  custom: {
    50: '#916bd0',
    500: '#582eba',
    950: '#000000',
  },
}
SCSS
$custom: #582eba;
$custom-light: #916bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#582eba",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 258,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44622,
    "c": 0.20298,
    "h": 289.1
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#582EBA
secondary
#B2C97B
accent
#E344B4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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