#583D8A#583D8A

#583D8A is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.9% C 0.124 H 297.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#583D8A
RGBrgb(88, 61, 138)
HSLhsl(261, 39%, 39%)
HSVhsv(261, 56%, 54%)
CMYKcmyk(36.2%, 55.8%, 0%, 45.9%)
CIE-LABlab(32.36, 29.76, -38.92)
CIE-LCHlch(32.36, 48.99, 307.41°)
OKLaboklab(42.93% 0.0563 -0.1102)
OKLCHoklch(42.93% 0.124 297.1)
XYZxyz(10.2795, 7.2470, 24.8971)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583D8A #6F8A3D
analogous
#3D498A #583D8A #7F3D8A
triadic
#583D8A #8A583D #3D8A58
tetradic
#583D8A #8A3D49 #6F8A3D #3D8A7F
square
#583D8A #8A3D49 #6F8A3D #3D8A7F
split-complementary
#583D8A #8A7F3D #498A3D
monochromatic
#221735 #3D2A60 #583D8A #7452B2 #967CC5

Accessibility & contrast

On white

8.57
#583D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#583D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583D8A
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583D8A#FFFFFF#000000##FFFFFF
##583D8A1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8D
Deuteranopia (green-blind)
#254B88
Tritanopia (blue-blind)
#4D4D5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #583d8a;
/* rgb */ color: rgb(88, 61, 138);
/* oklch */ color: oklch(42.9% 0.124 297.1);
Tailwind
colors: {
  custom: {
    50: '#8a73ad',
    500: '#583d8a',
    950: '#000000',
  },
}
SCSS
$custom: #583d8a;
$custom-light: #8a73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#583d8a",
  "rgb": {
    "r": 88,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 261.039,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42933,
    "c": 0.12373,
    "h": 297.1
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#583D8A
secondary
#9AAF74
accent
#CF59A5
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #583D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#583D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva