#583FAB#583FAB

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

Color values

HEX#583FAB
RGBrgb(88, 63, 171)
HSLhsl(254, 46%, 46%)
HSVhsv(254, 63%, 67%)
CMYKcmyk(48.5%, 63.2%, 0%, 32.9%)
CIE-LABlab(35.14, 38.17, -54.44)
CIE-LCHlch(35.14, 66.49, 305.03°)
OKLaboklab(45.71% 0.0531 -0.1558)
OKLCHoklch(45.71% 0.165 288.8)
XYZxyz(13.1506, 8.5695, 39.4813)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583FAB #92AB3F
analogous
#3F5CAB #583FAB #8E3FAB
triadic
#583FAB #AB583F #3FAB58
tetradic
#583FAB #AB3F5C #92AB3F #3FAB8E
square
#583FAB #AB3F5C #92AB3F #3FAB8E
split-complementary
#583FAB #AB8E3F #5CAB3F
monochromatic
#2A1E52 #412F7E #583FAB #7962C5 #9F8FD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##583FAB#FFFFFF#000000##FFFFFF
##583FAB1.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)
#0055AE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#3C586F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #583fab;
/* rgb */ color: rgb(88, 63, 171);
/* oklch */ color: oklch(45.7% 0.165 288.8);
Tailwind
colors: {
  custom: {
    50: '#8e75c5',
    500: '#583fab',
    950: '#000000',
  },
}
SCSS
$custom: #583fab;
$custom-light: #8e75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#583fab",
  "rgb": {
    "r": 88,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 253.889,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45709,
    "c": 0.16462,
    "h": 288.8
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#583FAB
secondary
#B3C185
accent
#D652B7
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #583FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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