#582E8A#582E8A

#582E8A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.147 H 301.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#582E8A
RGBrgb(88, 46, 138)
HSLhsl(267, 50%, 36%)
HSVhsv(267, 67%, 54%)
CMYKcmyk(36.2%, 66.7%, 0%, 45.9%)
CIE-LABlab(29.07, 38.51, -44.22)
CIE-LCHlch(29.07, 58.64, 311.05°)
OKLaboklab(40.52% 0.0756 -0.1257)
OKLCHoklch(40.52% 0.147 301)
XYZxyz(9.5878, 5.8636, 24.6665)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E8A #608A2E
analogous
#2E328A #582E8A #862E8A
triadic
#582E8A #8A582E #2E8A58
tetradic
#582E8A #8A2E32 #608A2E #2E8A86
square
#582E8A #8A2E32 #608A2E #2E8A86
split-complementary
#582E8A #8A862E #328A2E
monochromatic
#1D0F2E #3B1F5C #582E8A #753DB8 #9566CC

Accessibility & contrast

On white

9.66
#582E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#582E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E8A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E8A#FFFFFF#000000##FFFFFF
##582E8A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#054488
Tritanopia (blue-blind)
#4D4258
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582e8a;
/* rgb */ color: rgb(88, 46, 138);
/* oklch */ color: oklch(40.5% 0.147 301.0);
Tailwind
colors: {
  custom: {
    50: '#8b69ad',
    500: '#582e8a',
    950: '#000000',
  },
}
SCSS
$custom: #582e8a;
$custom-light: #8b69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#582e8a",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 267.391,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40524,
    "c": 0.14672,
    "h": 301
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#582E8A
secondary
#8DB361
accent
#DA4E9A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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