#583170#583170

#583170 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.2% C 0.110 H 310.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#583170
RGBrgb(88, 49, 112)
HSLhsl(277, 39%, 32%)
HSVhsv(277, 56%, 44%)
CMYKcmyk(21.4%, 56.3%, 0%, 56.1%)
CIE-LABlab(27.96, 30.08, -29.65)
CIE-LCHlch(27.96, 42.24, 315.42°)
OKLaboklab(39.16% 0.0719 -0.083)
OKLCHoklch(39.16% 0.11 310.9)
XYZxyz(8.0469, 5.4413, 15.9525)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583170 #497031
analogous
#393170 #583170 #703169
triadic
#583170 #705831 #317058
tetradic
#583170 #703931 #497031 #316970
square
#583170 #703931 #497031 #316970
split-complementary
#583170 #697031 #317039
monochromatic
#150C1B #371E45 #583170 #79449B #9861BA

Accessibility & contrast

On white

10.06
#583170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#583170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583170
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583170#FFFFFF#000000##FFFFFF
##5831701.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4072
Deuteranopia (green-blind)
#2C436E
Tritanopia (blue-blind)
#553C4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #583170;
/* rgb */ color: rgb(88, 49, 112);
/* oklch */ color: oklch(39.2% 0.110 310.9);
Tailwind
colors: {
  custom: {
    50: '#896b99',
    500: '#583170',
    950: '#000000',
  },
}
SCSS
$custom: #583170;
$custom-light: #896b99;
$custom-dark: #000000;
JSON
{
  "hex": "#583170",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 277.143,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39156,
    "c": 0.10983,
    "h": 310.9
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#583170
secondary
#76A15C
accent
#CF5986
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #583170

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

Preview Lab → · Contrast checker → · Palette generator →

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