#583196#583196

#583196 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.157 H 296.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#583196
RGBrgb(88, 49, 150)
HSLhsl(263, 51%, 39%)
HSVhsv(263, 67%, 59%)
CMYKcmyk(41.3%, 67.3%, 0%, 41.2%)
CIE-LABlab(30.58, 40.11, -49.17)
CIE-LCHlch(30.58, 63.45, 309.21°)
OKLaboklab(41.9% 0.0708 -0.1403)
OKLCHoklch(41.9% 0.157 296.8)
XYZxyz(10.6264, 6.4731, 29.5378)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583196 #6F9631
analogous
#313D96 #583196 #8B3196
triadic
#583196 #965831 #319658
tetradic
#583196 #96313D #6F9631 #31968B
square
#583196 #96313D #6F9631 #31968B
split-complementary
#583196 #968B31 #3D9631
monochromatic
#22133A #3D2268 #583196 #7443C1 #9671D1

Accessibility & contrast

On white

9.15
#583196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#583196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583196
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583196#FFFFFF#000000##FFFFFF
##5831961.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#48495F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #583196;
/* rgb */ color: rgb(88, 49, 150);
/* oklch */ color: oklch(41.9% 0.157 296.8);
Tailwind
colors: {
  custom: {
    50: '#8c6cb6',
    500: '#583196',
    950: '#000000',
  },
}
SCSS
$custom: #583196;
$custom-light: #8c6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#583196",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 263.168,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41899,
    "c": 0.15713,
    "h": 296.8
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#583196
secondary
#9AB86A
accent
#DA4EA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #583196

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

Preview Lab → · Contrast checker → · Palette generator →

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