#582A83#582A83

#582A83 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.144 H 304.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#582A83
RGBrgb(88, 42, 131)
HSLhsl(271, 51%, 34%)
HSVhsv(271, 68%, 51%)
CMYKcmyk(32.8%, 67.9%, 0%, 48.6%)
CIE-LABlab(27.76, 38.83, -41.97)
CIE-LCHlch(27.76, 57.17, 312.78°)
OKLaboklab(39.42% 0.0811 -0.1191)
OKLCHoklch(39.42% 0.144 304.3)
XYZxyz(8.9483, 5.3694, 22.0333)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A83 #55832A
analogous
#2C2A83 #582A83 #832A82
triadic
#582A83 #83582A #2A8358
tetradic
#582A83 #832C2A #55832A #2A8283
square
#582A83 #832C2A #55832A #2A8283
split-complementary
#582A83 #82832A #2A832C
monochromatic
#1A0C26 #391B55 #582A83 #7739B1 #965DCB

Accessibility & contrast

On white

10.13
#582A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#582A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A83
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A83#FFFFFF#000000##FFFFFF
##582A831.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#0D4181
Tritanopia (blue-blind)
#503D53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582a83;
/* rgb */ color: rgb(88, 42, 131);
/* oklch */ color: oklch(39.4% 0.144 304.3);
Tailwind
colors: {
  custom: {
    50: '#8b67a8',
    500: '#582a83',
    950: '#000000',
  },
}
SCSS
$custom: #582a83;
$custom-light: #8b67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#582a83",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 271.011,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39421,
    "c": 0.1441,
    "h": 304.3
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#582A83
secondary
#83B158
accent
#DB4D92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582A83

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

Preview Lab → · Contrast checker → · Palette generator →

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