#583281#583281

#583281 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.130 H 303.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#583281
RGBrgb(88, 50, 129)
HSLhsl(269, 44%, 35%)
HSVhsv(269, 61%, 51%)
CMYKcmyk(31.8%, 61.2%, 0%, 49.4%)
CIE-LABlab(29.26, 33.86, -38.30)
CIE-LCHlch(29.26, 51.12, 311.48°)
OKLaboklab(40.46% 0.0711 -0.1083)
OKLCHoklch(40.46% 0.13 303.3)
XYZxyz(9.1267, 5.9409, 21.4305)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583281 #5B8132
analogous
#323381 #583281 #803281
triadic
#583281 #815832 #328158
tetradic
#583281 #813233 #5B8132 #328180
square
#583281 #813233 #5B8132 #328180
split-complementary
#583281 #818032 #338132
monochromatic
#1C1029 #3A2155 #583281 #7643AD #9569C5

Accessibility & contrast

On white

9.60
#583281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#583281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583281
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583281#FFFFFF#000000##FFFFFF
##5832811.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4484
Deuteranopia (green-blind)
#1E457F
Tritanopia (blue-blind)
#504254
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #583281;
/* rgb */ color: rgb(88, 50, 129);
/* oklch */ color: oklch(40.5% 0.130 303.3);
Tailwind
colors: {
  custom: {
    50: '#8a6ca6',
    500: '#583281',
    950: '#000000',
  },
}
SCSS
$custom: #583281;
$custom-light: #8a6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#583281",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 268.861,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40464,
    "c": 0.12956,
    "h": 303.3
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#583281
secondary
#89AC62
accent
#D45496
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #583281

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

Preview Lab → · Contrast checker → · Palette generator →

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