#595271#595271

#595271 is a mid, muted violet. Relative luminance 0.094; OKLCH L 45.8% C 0.050 H 294.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#595271
RGBrgb(89, 82, 113)
HSLhsl(254, 16%, 38%)
HSVhsv(254, 27%, 44%)
CMYKcmyk(21.2%, 27.4%, 0%, 55.7%)
CIE-LABlab(36.65, 10.02, -16.69)
CIE-LCHlch(36.65, 19.46, 300.98°)
OKLaboklab(45.77% 0.0211 -0.0458)
OKLCHoklch(45.77% 0.05 294.7)
XYZxyz(10.1171, 9.3506, 16.8914)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595271 #6A7152
analogous
#525A71 #595271 #685271
triadic
#595271 #715952 #527159
tetradic
#595271 #71525A #6A7152 #527168
square
#595271 #71525A #6A7152 #527168
split-complementary
#595271 #716852 #5A7152
monochromatic
#211F2A #3D384E #595271 #756C94 #968FAE

Accessibility & contrast

On white

7.32
#595271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#595271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595271
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595271#FFFFFF#000000##FFFFFF
##5952711.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #595271;
/* rgb */ color: rgb(89, 82, 113);
/* oklch */ color: oklch(45.8% 0.050 294.7);
Tailwind
colors: {
  custom: {
    50: '#88829a',
    500: '#595271',
    950: '#000000',
  },
}
SCSS
$custom: #595271;
$custom-light: #88829a;
$custom-dark: #000000;
JSON
{
  "hex": "#595271",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 253.548,
    "s": 15.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45772,
    "c": 0.05045,
    "h": 294.7
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#595271
secondary
#969C83
accent
#B96FA8
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #595271

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

Preview Lab → · Contrast checker → · Palette generator →

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