#583497#583497

#583497 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.154 H 295.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#583497
RGBrgb(88, 52, 151)
HSLhsl(262, 49%, 40%)
HSVhsv(262, 66%, 59%)
CMYKcmyk(41.7%, 65.6%, 0%, 40.8%)
CIE-LABlab(31.27, 38.72, -48.66)
CIE-LCHlch(31.27, 62.19, 308.51°)
OKLaboklab(42.42% 0.0673 -0.1388)
OKLCHoklch(42.42% 0.154 295.9)
XYZxyz(10.8369, 6.7648, 30.0069)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583497 #739734
analogous
#344297 #583497 #893497
triadic
#583497 #975834 #349758
tetradic
#583497 #973442 #739734 #349789
square
#583497 #973442 #739734 #349789
split-complementary
#583497 #978934 #429734
monochromatic
#23153C #3D2469 #583497 #7448C0 #9676D0

Accessibility & contrast

On white

8.92
#583497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#583497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583497
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583497#FFFFFF#000000##FFFFFF
##5834971.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#484B61
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #583497;
/* rgb */ color: rgb(88, 52, 151);
/* oklch */ color: oklch(42.4% 0.154 295.9);
Tailwind
colors: {
  custom: {
    50: '#8c6eb6',
    500: '#583497',
    950: '#000000',
  },
}
SCSS
$custom: #583497;
$custom-light: #8c6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#583497",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 261.818,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4242,
    "c": 0.15423,
    "h": 295.9
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#583497
secondary
#9DB86F
accent
#D84FA7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #583497

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

Preview Lab → · Contrast checker → · Palette generator →

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