#583AB8#583AB8

#583AB8 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.187 H 287.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#583AB8
RGBrgb(88, 58, 184)
HSLhsl(254, 52%, 47%)
HSVhsv(254, 68%, 72%)
CMYKcmyk(52.2%, 68.5%, 0%, 27.8%)
CIE-LABlab(35.12, 44.86, -62.19)
CIE-LCHlch(35.12, 76.68, 305.81°)
OKLaboklab(46.02% 0.0566 -0.1786)
OKLCHoklch(46.02% 0.187 287.6)
XYZxyz(14.1867, 8.5608, 46.2430)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583AB8 #9AB83A
analogous
#3A5BB8 #583AB8 #973AB8
triadic
#583AB8 #B8583A #3AB858
tetradic
#583AB8 #B83A5B #9AB83A #3AB897
square
#583AB8 #B83A5B #9AB83A #3AB897
split-complementary
#583AB8 #B8973A #5BB83A
monochromatic
#2B1D5B #422B89 #583AB8 #7B62CD #A290DC

Accessibility & contrast

On white

7.74
#583AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#583AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583AB8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583AB8#FFFFFF#000000##FFFFFF
##583AB81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#335A74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #583ab8;
/* rgb */ color: rgb(88, 58, 184);
/* oklch */ color: oklch(46.0% 0.187 287.6);
Tailwind
colors: {
  custom: {
    50: '#9072ce',
    500: '#583ab8',
    950: '#000000',
  },
}
SCSS
$custom: #583ab8;
$custom-light: #9072ce;
$custom-dark: #000000;
JSON
{
  "hex": "#583ab8",
  "rgb": {
    "r": 88,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 254.286,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4602,
    "c": 0.18731,
    "h": 287.6
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#583AB8
secondary
#B8C787
accent
#DC4CB9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #583AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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