#583174#583174

#583174 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.4% C 0.115 H 308.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#583174
RGBrgb(88, 49, 116)
HSLhsl(275, 41%, 32%)
HSVhsv(275, 58%, 45%)
CMYKcmyk(24.1%, 57.8%, 0%, 54.5%)
CIE-LABlab(28.20, 31.08, -31.81)
CIE-LCHlch(28.20, 44.47, 314.34°)
OKLaboklab(39.42% 0.0722 -0.0893)
OKLCHoklch(39.42% 0.115 308.9)
XYZxyz(8.2746, 5.5324, 17.1516)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583174 #4D7431
analogous
#363174 #583174 #74316F
triadic
#583174 #745831 #317458
tetradic
#583174 #743631 #4D7431 #316F74
square
#583174 #743631 #4D7431 #316F74
split-complementary
#583174 #6F7431 #317436
monochromatic
#170D1E #371F49 #583174 #79439F #9763BD

Accessibility & contrast

On white

9.97
#583174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#583174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583174
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583174#FFFFFF#000000##FFFFFF
##5831741.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#543D4D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #583174;
/* rgb */ color: rgb(88, 49, 116);
/* oklch */ color: oklch(39.4% 0.115 308.9);
Tailwind
colors: {
  custom: {
    50: '#896b9c',
    500: '#583174',
    950: '#000000',
  },
}
SCSS
$custom: #583174;
$custom-light: #896b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#583174",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 274.925,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39415,
    "c": 0.11484,
    "h": 308.9
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#583174
secondary
#7AA45C
accent
#D0578A
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #583174

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

Preview Lab → · Contrast checker → · Palette generator →

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