#583181#583181

#583181 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.131 H 303.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#583181
RGBrgb(88, 49, 129)
HSLhsl(269, 45%, 35%)
HSVhsv(269, 62%, 51%)
CMYKcmyk(31.8%, 62%, 0%, 49.4%)
CIE-LABlab(29.05, 34.44, -38.65)
CIE-LCHlch(29.05, 51.76, 311.71°)
OKLaboklab(40.31% 0.0724 -0.1094)
OKLCHoklch(40.31% 0.131 303.5)
XYZxyz(9.0844, 5.8563, 21.4164)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583181 #5A8131
analogous
#313281 #583181 #803181
triadic
#583181 #815831 #318158
tetradic
#583181 #813132 #5A8131 #318180
square
#583181 #813132 #5A8131 #318180
split-complementary
#583181 #818031 #328131
monochromatic
#1B0F28 #3A2055 #583181 #7642AD #9567C5

Accessibility & contrast

On white

9.67
#583181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#583181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583181
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583181#FFFFFF#000000##FFFFFF
##5831811.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074484
Deuteranopia (green-blind)
#1D447F
Tritanopia (blue-blind)
#504154
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #583181;
/* rgb */ color: rgb(88, 49, 129);
/* oklch */ color: oklch(40.3% 0.131 303.5);
Tailwind
colors: {
  custom: {
    50: '#8a6ba6',
    500: '#583181',
    950: '#000000',
  },
}
SCSS
$custom: #583181;
$custom-light: #8a6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#583181",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 269.25,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.13114,
    "h": 303.5
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#583181
secondary
#88AD61
accent
#D55396
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #583181

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

Preview Lab → · Contrast checker → · Palette generator →

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