#583299#583299

#583299 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.159 H 295.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#583299
RGBrgb(88, 50, 153)
HSLhsl(262, 51%, 40%)
HSVhsv(262, 67%, 60%)
CMYKcmyk(42.5%, 67.3%, 0%, 40%)
CIE-LABlab(31.01, 40.39, -50.29)
CIE-LCHlch(31.01, 64.51, 308.77°)
OKLaboklab(42.28% 0.0693 -0.1436)
OKLCHoklch(42.28% 0.159 295.8)
XYZxyz(10.9134, 6.6556, 30.8405)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583299 #739932
analogous
#323F99 #583299 #8C3299
triadic
#583299 #995832 #329958
tetradic
#583299 #99323F #739932 #32998C
square
#583299 #99323F #739932 #32998C
split-complementary
#583299 #998C32 #3F9932
monochromatic
#23143D #3D236B #583299 #7446C2 #9674D2

Accessibility & contrast

On white

9.01
#583299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#583299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583299
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583299#FFFFFF#000000##FFFFFF
##5832991.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #583299;
/* rgb */ color: rgb(88, 50, 153);
/* oklch */ color: oklch(42.3% 0.159 295.8);
Tailwind
colors: {
  custom: {
    50: '#8d6cb8',
    500: '#583299',
    950: '#000000',
  },
}
SCSS
$custom: #583299;
$custom-light: #8d6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#583299",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 262.136,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.15944,
    "h": 295.8
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#583299
secondary
#9DBA6D
accent
#DA4EA6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #583299

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

Preview Lab → · Contrast checker → · Palette generator →

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