#583CB2#583CB2

#583CB2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.177 H 288.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#583CB2
RGBrgb(88, 60, 178)
HSLhsl(254, 50%, 47%)
HSVhsv(254, 66%, 70%)
CMYKcmyk(50.6%, 66.3%, 0%, 30.2%)
CIE-LABlab(35.04, 41.98, -58.77)
CIE-LCHlch(35.04, 72.22, 305.54°)
OKLaboklab(45.81% 0.0555 -0.1685)
OKLCHoklch(45.81% 0.177 288.2)
XYZxyz(13.6739, 8.5202, 43.0349)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583CB2 #96B23C
analogous
#3C5BB2 #583CB2 #933CB2
triadic
#583CB2 #B2583C #3CB258
tetradic
#583CB2 #B23C5B #96B23C #3CB293
square
#583CB2 #B23C5B #96B23C #3CB293
split-complementary
#583CB2 #B2933C #5BB23C
monochromatic
#2B1D56 #412D84 #583CB2 #7A61CA #A18FD9

Accessibility & contrast

On white

7.77
#583CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#583CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583CB2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583CB2#FFFFFF#000000##FFFFFF
##583CB21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#385972
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #583cb2;
/* rgb */ color: rgb(88, 60, 178);
/* oklch */ color: oklch(45.8% 0.177 288.2);
Tailwind
colors: {
  custom: {
    50: '#8f73ca',
    500: '#583cb2',
    950: '#000000',
  },
}
SCSS
$custom: #583cb2;
$custom-light: #8f73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#583cb2",
  "rgb": {
    "r": 88,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 254.237,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45809,
    "c": 0.17744,
    "h": 288.2
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#583CB2
secondary
#B5C486
accent
#D94FB8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #583CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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