#582D90#582D90

#582D90 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.155 H 299.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#582D90
RGBrgb(88, 45, 144)
HSLhsl(266, 52%, 37%)
HSVhsv(266, 69%, 56%)
CMYKcmyk(38.9%, 68.7%, 0%, 43.5%)
CIE-LABlab(29.32, 40.65, -47.51)
CIE-LCHlch(29.32, 62.53, 310.55°)
OKLaboklab(40.85% 0.0761 -0.1354)
OKLCHoklch(40.85% 0.155 299.3)
XYZxyz(9.9957, 5.9650, 27.0049)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D90 #65902D
analogous
#2D3390 #582D90 #8A2D90
triadic
#582D90 #90582D #2D9058
tetradic
#582D90 #902D33 #65902D #2D908A
square
#582D90 #902D33 #65902D #2D908A
split-complementary
#582D90 #908A2D #33902D
monochromatic
#1F1033 #3C1E61 #582D90 #743CBF #9568D0

Accessibility & contrast

On white

9.58
#582D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#582D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D90
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D90#FFFFFF#000000##FFFFFF
##582D901.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#4B445A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582d90;
/* rgb */ color: rgb(88, 45, 144);
/* oklch */ color: oklch(40.9% 0.155 299.3);
Tailwind
colors: {
  custom: {
    50: '#8c69b1',
    500: '#582d90',
    950: '#000000',
  },
}
SCSS
$custom: #582d90;
$custom-light: #8c69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#582d90",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 266.061,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.15531,
    "h": 299.3
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#582D90
secondary
#92B662
accent
#DC4C9D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #582D90

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

Preview Lab → · Contrast checker → · Palette generator →

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