#583A9B#583A9B

#583A9B is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.151 H 293.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#583A9B
RGBrgb(88, 58, 155)
HSLhsl(259, 46%, 42%)
HSVhsv(259, 63%, 61%)
CMYKcmyk(43.2%, 62.6%, 0%, 39.2%)
CIE-LABlab(32.85, 36.41, -48.53)
CIE-LCHlch(32.85, 60.67, 306.88°)
OKLaboklab(43.66% 0.0599 -0.1384)
OKLCHoklch(43.66% 0.151 293.4)
XYZxyz(11.4524, 7.4671, 31.8419)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583A9B #7D9B3A
analogous
#3A4C9B #583A9B #893A9B
triadic
#583A9B #9B583A #3A9B58
tetradic
#583A9B #9B3A4C #7D9B3A #3A9B89
square
#583A9B #9B3A4C #7D9B3A #3A9B89
split-complementary
#583A9B #9B893A #4C9B3A
monochromatic
#251942 #3F296E #583A9B #7553BF #9980CF

Accessibility & contrast

On white

8.42
#583A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#583A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583A9B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583A9B#FFFFFF#000000##FFFFFF
##583A9B1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#465065
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #583a9b;
/* rgb */ color: rgb(88, 58, 155);
/* oklch */ color: oklch(43.7% 0.151 293.4);
Tailwind
colors: {
  custom: {
    50: '#8c72b9',
    500: '#583a9b',
    950: '#000000',
  },
}
SCSS
$custom: #583a9b;
$custom-light: #8c72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#583a9b",
  "rgb": {
    "r": 88,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 258.557,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43662,
    "c": 0.15085,
    "h": 293.4
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#583A9B
secondary
#A5B978
accent
#D553AD
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0D0811
muted
#7D7B80

Preview Lab

Preview with #583A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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