#585271#585271

#585271 is a mid, muted violet. Relative luminance 0.093; OKLCH L 45.7% C 0.050 H 293.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#585271
RGBrgb(88, 82, 113)
HSLhsl(252, 16%, 38%)
HSVhsv(252, 27%, 44%)
CMYKcmyk(22.1%, 27.4%, 0%, 55.7%)
CIE-LABlab(36.56, 9.67, -16.84)
CIE-LCHlch(36.56, 19.42, 299.87°)
OKLaboklab(45.68% 0.0198 -0.0463)
OKLCHoklch(45.68% 0.05 293.2)
XYZxyz(10.0217, 9.3014, 16.8870)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585271 #6B7152
analogous
#525B71 #585271 #675271
triadic
#585271 #715852 #527158
tetradic
#585271 #71525B #6B7152 #527167
square
#585271 #71525B #6B7152 #527167
split-complementary
#585271 #716752 #5B7152
monochromatic
#211F2A #3C384E #585271 #746C94 #958FAE

Accessibility & contrast

On white

7.34
#585271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#585271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585271
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585271#FFFFFF#000000##FFFFFF
##5852711.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5672
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#53575D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #585271;
/* rgb */ color: rgb(88, 82, 113);
/* oklch */ color: oklch(45.7% 0.050 293.2);
Tailwind
colors: {
  custom: {
    50: '#87829a',
    500: '#585271',
    950: '#000000',
  },
}
SCSS
$custom: #585271;
$custom-light: #87829a;
$custom-dark: #000000;
JSON
{
  "hex": "#585271",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 251.613,
    "s": 15.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45678,
    "c": 0.05034,
    "h": 293.2
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#585271
secondary
#979C83
accent
#B96FAA
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #585271

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

Preview Lab → · Contrast checker → · Palette generator →

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