#583A87#583A87

#583A87 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.2% C 0.125 H 299.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#583A87
RGBrgb(88, 58, 135)
HSLhsl(263, 40%, 38%)
HSVhsv(263, 57%, 53%)
CMYKcmyk(34.8%, 57%, 0%, 47.1%)
CIE-LABlab(31.46, 30.75, -38.50)
CIE-LCHlch(31.46, 49.27, 308.61°)
OKLaboklab(42.21% 0.0603 -0.109)
OKLCHoklch(42.21% 0.125 299)
XYZxyz(9.9097, 6.8500, 23.7171)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583A87 #69873A
analogous
#3A4287 #583A87 #7E3A87
triadic
#583A87 #87583A #3A8758
tetradic
#583A87 #873A42 #69873A #3A877E
square
#583A87 #873A42 #69873A #3A877E
split-complementary
#583A87 #877E3A #42873A
monochromatic
#201531 #3C285C #583A87 #744CB2 #9577C5

Accessibility & contrast

On white

8.86
#583A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#583A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583A87
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583A87#FFFFFF#000000##FFFFFF
##583A871.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#4E495A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #583a87;
/* rgb */ color: rgb(88, 58, 135);
/* oklch */ color: oklch(42.2% 0.125 299.0);
Tailwind
colors: {
  custom: {
    50: '#8a71aa',
    500: '#583a87',
    950: '#000000',
  },
}
SCSS
$custom: #583a87;
$custom-light: #8a71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#583a87",
  "rgb": {
    "r": 88,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 263.377,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.12452,
    "h": 299
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#583A87
secondary
#95AE6F
accent
#D058A1
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #583A87

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

Preview Lab → · Contrast checker → · Palette generator →

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