#582E9B#582E9B

#582E9B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.167 H 296.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#582E9B
RGBrgb(88, 46, 155)
HSLhsl(263, 54%, 39%)
HSVhsv(263, 70%, 61%)
CMYKcmyk(43.2%, 70.3%, 0%, 39.2%)
CIE-LABlab(30.39, 43.09, -52.52)
CIE-LCHlch(30.39, 67.94, 309.37°)
OKLaboklab(41.89% 0.0733 -0.1501)
OKLCHoklch(41.89% 0.167 296)
XYZxyz(10.9163, 6.3950, 31.6632)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E9B #719B2E
analogous
#2E3B9B #582E9B #8F2E9B
triadic
#582E9B #9B582E #2E9B58
tetradic
#582E9B #9B2E3B #719B2E #2E9B8F
square
#582E9B #9B2E3B #719B2E #2E9B8F
split-complementary
#582E9B #9B8F2E #3B9B2E
monochromatic
#22123D #3D206C #582E9B #7440C6 #966FD4

Accessibility & contrast

On white

9.21
#582E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#582E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E9B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E9B#FFFFFF#000000##FFFFFF
##582E9B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#464961
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582e9b;
/* rgb */ color: rgb(88, 46, 155);
/* oklch */ color: oklch(41.9% 0.167 296.0);
Tailwind
colors: {
  custom: {
    50: '#8d6ab9',
    500: '#582e9b',
    950: '#000000',
  },
}
SCSS
$custom: #582e9b;
$custom-light: #8d6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#582e9b",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 263.119,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.16707,
    "h": 296
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#582E9B
secondary
#9CBC69
accent
#DE4AA5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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