#583B87#583B87

#583B87 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.4% C 0.123 H 298.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#583B87
RGBrgb(88, 59, 135)
HSLhsl(263, 39%, 38%)
HSVhsv(263, 56%, 53%)
CMYKcmyk(34.8%, 56.3%, 0%, 47.1%)
CIE-LABlab(31.70, 30.14, -38.13)
CIE-LCHlch(31.70, 48.60, 308.33°)
OKLaboklab(42.38% 0.0589 -0.1079)
OKLCHoklch(42.38% 0.123 298.6)
XYZxyz(9.9606, 6.9518, 23.7340)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583B87 #6A873B
analogous
#3B4487 #583B87 #7E3B87
triadic
#583B87 #87583B #3B8758
tetradic
#583B87 #873B44 #6A873B #3B877E
square
#583B87 #873B44 #6A873B #3B877E
split-complementary
#583B87 #877E3B #44873B
monochromatic
#201632 #3C285C #583B87 #744EB2 #9578C4

Accessibility & contrast

On white

8.79
#583B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#583B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583B87
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583B87#FFFFFF#000000##FFFFFF
##583B871.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8A
Deuteranopia (green-blind)
#254A85
Tritanopia (blue-blind)
#4E4A5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #583b87;
/* rgb */ color: rgb(88, 59, 135);
/* oklch */ color: oklch(42.4% 0.123 298.6);
Tailwind
colors: {
  custom: {
    50: '#8a72aa',
    500: '#583b87',
    950: '#000000',
  },
}
SCSS
$custom: #583b87;
$custom-light: #8a72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#583b87",
  "rgb": {
    "r": 88,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 262.895,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42378,
    "c": 0.1229,
    "h": 298.6
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#583B87
secondary
#96AE70
accent
#CF59A2
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #583B87

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

Preview Lab → · Contrast checker → · Palette generator →

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