#583282#583282

#583282 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.131 H 302.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#583282
RGBrgb(88, 50, 130)
HSLhsl(269, 44%, 35%)
HSVhsv(269, 62%, 51%)
CMYKcmyk(32.3%, 61.5%, 0%, 49%)
CIE-LABlab(29.33, 34.13, -38.81)
CIE-LCHlch(29.33, 51.68, 311.32°)
OKLaboklab(40.53% 0.071 -0.1099)
OKLCHoklch(40.53% 0.131 302.9)
XYZxyz(9.1934, 5.9676, 21.7823)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583282 #5C8232
analogous
#323482 #583282 #803282
triadic
#583282 #825832 #328258
tetradic
#583282 #823234 #5C8232 #328280
square
#583282 #823234 #5C8232 #328280
split-complementary
#583282 #828032 #348232
monochromatic
#1C102A #3A2156 #583282 #7643AE #9569C5

Accessibility & contrast

On white

9.57
#583282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #583282
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583282#FFFFFF#000000##FFFFFF
##5832821.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094485
Deuteranopia (green-blind)
#1D4580
Tritanopia (blue-blind)
#504255
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #583282;
/* rgb */ color: rgb(88, 50, 130);
/* oklch */ color: oklch(40.5% 0.131 302.9);
Tailwind
colors: {
  custom: {
    50: '#8a6ca7',
    500: '#583282',
    950: '#000000',
  },
}
SCSS
$custom: #583282;
$custom-light: #8a6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#583282",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 268.5,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40535,
    "c": 0.13083,
    "h": 302.9
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#583282
secondary
#8AAD63
accent
#D45497
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #583282

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

Preview Lab → · Contrast checker → · Palette generator →

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