#583189#583189

#583189 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.141 H 300.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#583189
RGBrgb(88, 49, 137)
HSLhsl(267, 47%, 36%)
HSVhsv(267, 64%, 54%)
CMYKcmyk(35.8%, 64.2%, 0%, 46.3%)
CIE-LABlab(29.61, 36.57, -42.73)
CIE-LCHlch(29.61, 56.24, 310.56°)
OKLaboklab(40.89% 0.072 -0.1213)
OKLCHoklch(40.89% 0.141 300.7)
XYZxyz(9.6371, 6.0774, 24.3274)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583189 #628931
analogous
#313689 #583189 #843189
triadic
#583189 #895831 #318958
tetradic
#583189 #893136 #628931 #318984
square
#583189 #893136 #628931 #318984
split-complementary
#583189 #898431 #368931
monochromatic
#1E112F #3B215C #583189 #7541B6 #956BCA

Accessibility & contrast

On white

9.48
#583189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#583189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583189
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583189#FFFFFF#000000##FFFFFF
##5831891.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#104587
Tritanopia (blue-blind)
#4E4458
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #583189;
/* rgb */ color: rgb(88, 49, 137);
/* oklch */ color: oklch(40.9% 0.141 300.7);
Tailwind
colors: {
  custom: {
    50: '#8b6bac',
    500: '#583189',
    950: '#000000',
  },
}
SCSS
$custom: #583189;
$custom-light: #8b6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#583189",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 266.591,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40892,
    "c": 0.14112,
    "h": 300.7
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#583189
secondary
#8FB164
accent
#D7519C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #583189

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

Preview Lab → · Contrast checker → · Palette generator →

#583189 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva