#582BB5#582BB5

#582BB5 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.200 H 290.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#582BB5
RGBrgb(88, 43, 181)
HSLhsl(260, 62%, 44%)
HSVhsv(260, 76%, 71%)
CMYKcmyk(51.4%, 76.2%, 0%, 29%)
CIE-LABlab(32.12, 51.69, -65.33)
CIE-LCHlch(32.12, 83.31, 308.35°)
OKLaboklab(43.81% 0.0701 -0.1877)
OKLCHoklch(43.81% 0.2 290.5)
XYZxyz(13.2265, 7.1381, 44.3880)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BB5 #88B52B
analogous
#2B43B5 #582BB5 #9D2BB5
triadic
#582BB5 #B5582B #2BB558
tetradic
#582BB5 #B52B43 #88B52B #2BB59D
square
#582BB5 #B52B43 #88B52B #2BB59D
split-complementary
#582BB5 #B59D2B #43B52B
monochromatic
#281452 #401F84 #582BB5 #7749D4 #9C7BE0

Accessibility & contrast

On white

8.65
#582BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#582BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BB5
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BB5#FFFFFF#000000##FFFFFF
##582BB51.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#37516F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582bb5;
/* rgb */ color: rgb(88, 43, 181);
/* oklch */ color: oklch(43.8% 0.200 290.5);
Tailwind
colors: {
  custom: {
    50: '#916acc',
    500: '#582bb5',
    950: '#000000',
  },
}
SCSS
$custom: #582bb5;
$custom-light: #916acc;
$custom-dark: #000000;
JSON
{
  "hex": "#582bb5",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 259.565,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.20036,
    "h": 290.5
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#582BB5
secondary
#ACC874
accent
#E543B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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