#583FA5#583FA5

#583FA5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.157 H 290.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#583FA5
RGBrgb(88, 63, 165)
HSLhsl(255, 45%, 45%)
HSVhsv(255, 62%, 65%)
CMYKcmyk(46.7%, 61.8%, 0%, 35.3%)
CIE-LABlab(34.69, 36.38, -51.58)
CIE-LCHlch(34.69, 63.12, 305.20°)
OKLaboklab(45.24% 0.0535 -0.1474)
OKLCHoklch(45.24% 0.157 290)
XYZxyz(12.5916, 8.3459, 36.5375)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583FA5 #8CA53F
analogous
#3F59A5 #583FA5 #8B3FA5
triadic
#583FA5 #A5583F #3FA558
tetradic
#583FA5 #A53F59 #8CA53F #3FA58B
square
#583FA5 #A53F59 #8CA53F #3FA58B
split-complementary
#583FA5 #A58B3F #59A53F
monochromatic
#291D4C #402E79 #583FA5 #775FC2 #9D8CD3

Accessibility & contrast

On white

7.87
#583FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#583FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583FA5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583FA5#FFFFFF#000000##FFFFFF
##583FA51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#40566C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #583fa5;
/* rgb */ color: rgb(88, 63, 165);
/* oklch */ color: oklch(45.2% 0.157 290.0);
Tailwind
colors: {
  custom: {
    50: '#8d75c0',
    500: '#583fa5',
    950: '#000000',
  },
}
SCSS
$custom: #583fa5;
$custom-light: #8d75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#583fa5",
  "rgb": {
    "r": 88,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 254.706,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.15681,
    "h": 290
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

primary
#583FA5
secondary
#AFBE82
accent
#D453B5
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #583FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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