#582E99#582E99

#582E99 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.165 H 296.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#582E99
RGBrgb(88, 46, 153)
HSLhsl(264, 54%, 39%)
HSVhsv(264, 70%, 60%)
CMYKcmyk(42.5%, 69.9%, 0%, 40%)
CIE-LABlab(30.23, 42.55, -51.57)
CIE-LCHlch(30.23, 66.86, 309.53°)
OKLaboklab(41.72% 0.0736 -0.1473)
OKLCHoklch(41.72% 0.165 296.5)
XYZxyz(10.7498, 6.3284, 30.7859)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E99 #6F992E
analogous
#2E3A99 #582E99 #8E2E99
triadic
#582E99 #99582E #2E9958
tetradic
#582E99 #992E3A #6F992E #2E998E
square
#582E99 #992E3A #6F992E #2E998E
split-complementary
#582E99 #998E2E #3A992E
monochromatic
#22123B #3D206A #582E99 #743FC5 #966ED3

Accessibility & contrast

On white

9.27
#582E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#582E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E99
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E99#FFFFFF#000000##FFFFFF
##582E991.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#474860
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #582e99;
/* rgb */ color: rgb(88, 46, 153);
/* oklch */ color: oklch(41.7% 0.165 296.5);
Tailwind
colors: {
  custom: {
    50: '#8d6ab8',
    500: '#582e99',
    950: '#000000',
  },
}
SCSS
$custom: #582e99;
$custom-light: #8d6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#582e99",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 263.551,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41722,
    "c": 0.1647,
    "h": 296.5
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#582E99
secondary
#9ABB68
accent
#DD4BA4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #582E99

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

Preview Lab → · Contrast checker → · Palette generator →

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