#582A93#582A93

#582A93 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.163 H 299.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#582A93
RGBrgb(88, 42, 147)
HSLhsl(266, 56%, 37%)
HSVhsv(266, 71%, 58%)
CMYKcmyk(40.1%, 71.4%, 0%, 42.4%)
CIE-LABlab(29.00, 43.01, -49.89)
CIE-LCHlch(29.00, 65.87, 310.76°)
OKLaboklab(40.7% 0.0789 -0.1424)
OKLCHoklch(40.7% 0.163 299)
XYZxyz(10.1176, 5.8371, 28.1917)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A93 #65932A
analogous
#2A3093 #582A93 #8D2A93
triadic
#582A93 #93582A #2A9358
tetradic
#582A93 #932A30 #65932A #2A938D
square
#582A93 #932A30 #65932A #2A938D
split-complementary
#582A93 #938D2A #30932A
monochromatic
#1F0F34 #3C1C63 #582A93 #7438C3 #9565D3

Accessibility & contrast

On white

9.69
#582A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582A93
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A93#FFFFFF#000000##FFFFFF
##582A931.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#4A445B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582a93;
/* rgb */ color: rgb(88, 42, 147);
/* oklch */ color: oklch(40.7% 0.163 299.0);
Tailwind
colors: {
  custom: {
    50: '#8c67b3',
    500: '#582a93',
    950: '#000000',
  },
}
SCSS
$custom: #582a93;
$custom-light: #8c67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#582a93",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 266.286,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40695,
    "c": 0.16276,
    "h": 299
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#582A93
secondary
#92B960
accent
#DF499D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582A93

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

Preview Lab → · Contrast checker → · Palette generator →

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