#583173#583173

#583173 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.3% C 0.114 H 309.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#583173
RGBrgb(88, 49, 115)
HSLhsl(275, 40%, 32%)
HSVhsv(275, 57%, 45%)
CMYKcmyk(23.5%, 57.4%, 0%, 54.9%)
CIE-LABlab(28.14, 30.83, -31.27)
CIE-LCHlch(28.14, 43.91, 314.59°)
OKLaboklab(39.35% 0.0721 -0.0877)
OKLCHoklch(39.35% 0.114 309.4)
XYZxyz(8.2167, 5.5093, 16.8469)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583173 #4C7331
analogous
#373173 #583173 #73316D
triadic
#583173 #735831 #317358
tetradic
#583173 #733731 #4C7331 #316D73
square
#583173 #733731 #4C7331 #316D73
split-complementary
#583173 #6D7331 #317337
monochromatic
#160C1D #371F48 #583173 #79439E #9762BC

Accessibility & contrast

On white

9.99
#583173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#583173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583173
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583173#FFFFFF#000000##FFFFFF
##5831731.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4175
Deuteranopia (green-blind)
#2A4371
Tritanopia (blue-blind)
#543D4D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #583173;
/* rgb */ color: rgb(88, 49, 115);
/* oklch */ color: oklch(39.3% 0.114 309.4);
Tailwind
colors: {
  custom: {
    50: '#896b9c',
    500: '#583173',
    950: '#000000',
  },
}
SCSS
$custom: #583173;
$custom-light: #896b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#583173",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 275.455,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.11359,
    "h": 309.4
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#583173
secondary
#79A45C
accent
#D05889
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #583173

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

Preview Lab → · Contrast checker → · Palette generator →

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