#595172#595172

#595172 is a mid, muted violet. Relative luminance 0.092; OKLCH L 45.6% C 0.054 H 295.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#595172
RGBrgb(89, 81, 114)
HSLhsl(255, 17%, 38%)
HSVhsv(255, 29%, 45%)
CMYKcmyk(21.9%, 28.9%, 0%, 55.3%)
CIE-LABlab(36.41, 10.91, -17.68)
CIE-LCHlch(36.41, 20.77, 301.68°)
OKLaboklab(45.6% 0.023 -0.0486)
OKLCHoklch(45.6% 0.054 295.3)
XYZxyz(10.0988, 9.2235, 17.1646)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595172 #6A7251
analogous
#515972 #595172 #695172
triadic
#595172 #725951 #517259
tetradic
#595172 #725159 #6A7251 #517269
square
#595172 #725159 #6A7251 #517269
split-complementary
#595172 #726951 #597251
monochromatic
#211E2A #3D384E #595172 #756B96 #968EAF

Accessibility & contrast

On white

7.38
#595172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#595172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595172
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595172#FFFFFF#000000##FFFFFF
##5951721.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495673
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#54565D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #595172;
/* rgb */ color: rgb(89, 81, 114);
/* oklch */ color: oklch(45.6% 0.054 295.3);
Tailwind
colors: {
  custom: {
    50: '#88819a',
    500: '#595172',
    950: '#000000',
  },
}
SCSS
$custom: #595172;
$custom-light: #88819a;
$custom-dark: #000000;
JSON
{
  "hex": "#595172",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 254.545,
    "s": 16.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.0538,
    "h": 295.3
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#595172
secondary
#969D82
accent
#BA6EA7
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #595172

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

Preview Lab → · Contrast checker → · Palette generator →

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