#583184#583184

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

Color values

HEX#583184
RGBrgb(88, 49, 132)
HSLhsl(268, 46%, 35%)
HSVhsv(268, 63%, 52%)
CMYKcmyk(33.3%, 62.9%, 0%, 48.2%)
CIE-LABlab(29.25, 35.23, -40.19)
CIE-LCHlch(29.25, 53.44, 311.24°)
OKLaboklab(40.52% 0.0723 -0.1139)
OKLCHoklch(40.52% 0.135 302.4)
XYZxyz(9.2867, 5.9373, 22.4821)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583184 #5D8431
analogous
#313384 #583184 #813184
triadic
#583184 #845831 #318458
tetradic
#583184 #843133 #5D8431 #318481
square
#583184 #843133 #5D8431 #318481
split-complementary
#583184 #848131 #338431
monochromatic
#1C102B #3A2057 #583184 #7642B1 #9568C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##583184#FFFFFF#000000##FFFFFF
##5831841.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)
#004487
Deuteranopia (green-blind)
#194582
Tritanopia (blue-blind)
#4F4255
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #583184;
/* rgb */ color: rgb(88, 49, 132);
/* oklch */ color: oklch(40.5% 0.135 302.4);
Tailwind
colors: {
  custom: {
    50: '#8a6ba8',
    500: '#583184',
    950: '#000000',
  },
}
SCSS
$custom: #583184;
$custom-light: #8a6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#583184",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 268.193,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40523,
    "c": 0.1349,
    "h": 302.4
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#583184
secondary
#8BAE62
accent
#D65298
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #583184

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

Preview Lab → · Contrast checker → · Palette generator →

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