#583399#583399

#583399 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.158 H 295.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#583399
RGBrgb(88, 51, 153)
HSLhsl(262, 50%, 40%)
HSVhsv(262, 67%, 60%)
CMYKcmyk(42.5%, 66.7%, 0%, 40%)
CIE-LABlab(31.21, 39.84, -49.97)
CIE-LCHlch(31.21, 63.91, 308.57°)
OKLaboklab(42.43% 0.0682 -0.1426)
OKLCHoklch(42.43% 0.158 295.5)
XYZxyz(10.9566, 6.7420, 30.8549)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583399 #749933
analogous
#334199 #583399 #8B3399
triadic
#583399 #995833 #339958
tetradic
#583399 #993341 #749933 #33998B
square
#583399 #993341 #749933 #33998B
split-complementary
#583399 #998B33 #419933
monochromatic
#23143D #3E246B #583399 #7447C2 #9775D1

Accessibility & contrast

On white

8.94
#583399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #583399
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583399#FFFFFF#000000##FFFFFF
##5833991.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#474B61
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #583399;
/* rgb */ color: rgb(88, 51, 153);
/* oklch */ color: oklch(42.4% 0.158 295.5);
Tailwind
colors: {
  custom: {
    50: '#8c6db8',
    500: '#583399',
    950: '#000000',
  },
}
SCSS
$custom: #583399;
$custom-light: #8c6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#583399",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 261.765,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.15809,
    "h": 295.5
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#583399
secondary
#9EB96E
accent
#DA4EA7
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #583399

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

Preview Lab → · Contrast checker → · Palette generator →

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