#583D7B#583D7B

#583D7B is a dark, moderate violet. Relative luminance 0.068; OKLCH L 42.0% C 0.103 H 302.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#583D7B
RGBrgb(88, 61, 123)
HSLhsl(266, 34%, 36%)
HSVhsv(266, 50%, 48%)
CMYKcmyk(28.5%, 50.4%, 0%, 51.8%)
CIE-LABlab(31.44, 25.63, -31.06)
CIE-LCHlch(31.44, 40.27, 309.53°)
OKLaboklab(41.95% 0.0551 -0.0872)
OKLCHoklch(41.95% 0.103 302.3)
XYZxyz(9.2676, 6.8422, 19.5675)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583D7B #607B3D
analogous
#3D417B #583D7B #773D7B
triadic
#583D7B #7B583D #3D7B58
tetradic
#583D7B #7B3D41 #607B3D #3D7B77
square
#583D7B #7B3D41 #607B3D #3D7B77
split-complementary
#583D7B #7B773D #417B3D
monochromatic
#1D1429 #3B2952 #583D7B #7551A4 #9577BC

Accessibility & contrast

On white

8.87
#583D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#583D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583D7B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583D7B#FFFFFF#000000##FFFFFF
##583D7B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497D
Deuteranopia (green-blind)
#314A79
Tritanopia (blue-blind)
#524856
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #583d7b;
/* rgb */ color: rgb(88, 61, 123);
/* oklch */ color: oklch(42.0% 0.103 302.3);
Tailwind
colors: {
  custom: {
    50: '#8973a1',
    500: '#583d7b',
    950: '#000000',
  },
}
SCSS
$custom: #583d7b;
$custom-light: #8973a1;
$custom-dark: #000000;
JSON
{
  "hex": "#583d7b",
  "rgb": {
    "r": 88,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 266.129,
    "s": 33.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.10312,
    "h": 302.3
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#583D7B
secondary
#8DA66E
accent
#CA5E9B
background
#F8F7FA
surface
#F0EDF3
border
#CBC8CD
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #583D7B

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

Preview Lab → · Contrast checker → · Palette generator →

#583D7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva