#583D8D#583D8D

#583D8D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.1% C 0.128 H 296.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#583D8D
RGBrgb(88, 61, 141)
HSLhsl(260, 40%, 40%)
HSVhsv(260, 57%, 55%)
CMYKcmyk(37.6%, 56.7%, 0%, 44.7%)
CIE-LABlab(32.56, 30.61, -40.45)
CIE-LCHlch(32.56, 50.73, 307.12°)
OKLaboklab(43.14% 0.0564 -0.1147)
OKLCHoklch(43.14% 0.128 296.2)
XYZxyz(10.4997, 7.3351, 26.0568)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583D8D #728D3D
analogous
#3D4A8D #583D8D #803D8D
triadic
#583D8D #8D583D #3D8D58
tetradic
#583D8D #8D3D4A #728D3D #3D8D80
square
#583D8D #8D3D4A #728D3D #3D8D80
split-complementary
#583D8D #8D803D #4A8D3D
monochromatic
#231838 #3D2B62 #583D8D #7453B4 #967DC7

Accessibility & contrast

On white

8.51
#583D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#583D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583D8D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583D8D#FFFFFF#000000##FFFFFF
##583D8D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#214C8B
Tritanopia (blue-blind)
#4C4D5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #583d8d;
/* rgb */ color: rgb(88, 61, 141);
/* oklch */ color: oklch(43.1% 0.128 296.2);
Tailwind
colors: {
  custom: {
    50: '#8a73af',
    500: '#583d8d',
    950: '#000000',
  },
}
SCSS
$custom: #583d8d;
$custom-light: #8a73af;
$custom-dark: #000000;
JSON
{
  "hex": "#583d8d",
  "rgb": {
    "r": 88,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 260.25,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4314,
    "c": 0.1278,
    "h": 296.2
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#583D8D
secondary
#9DB175
accent
#CF58A7
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #583D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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