#595174#595174

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

Color values

HEX#595174
RGBrgb(89, 81, 116)
HSLhsl(254, 18%, 39%)
HSVhsv(254, 30%, 45%)
CMYKcmyk(23.3%, 30.2%, 0%, 54.5%)
CIE-LABlab(36.50, 11.43, -18.78)
CIE-LCHlch(36.50, 21.99, 301.32°)
OKLaboklab(45.7% 0.0236 -0.0518)
OKLCHoklch(45.7% 0.057 294.5)
XYZxyz(10.2139, 9.2696, 17.7707)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595174 #6C7451
analogous
#515A74 #595174 #6A5174
triadic
#595174 #745951 #517459
tetradic
#595174 #74515A #6C7451 #51746A
square
#595174 #74515A #6C7451 #51746A
split-complementary
#595174 #746A51 #5A7451
monochromatic
#221F2C #3D3850 #595174 #756B97 #978FB1

Accessibility & contrast

On white

7.36
#595174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#595174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595174
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595174#FFFFFF#000000##FFFFFF
##5951741.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #595174;
/* rgb */ color: rgb(89, 81, 116);
/* oklch */ color: oklch(45.7% 0.057 294.5);
Tailwind
colors: {
  custom: {
    50: '#88819c',
    500: '#595174',
    950: '#000000',
  },
}
SCSS
$custom: #595174;
$custom-light: #88819c;
$custom-dark: #000000;
JSON
{
  "hex": "#595174",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 253.714,
    "s": 17.766,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45697,
    "c": 0.05693,
    "h": 294.5
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#595174
secondary
#989E83
accent
#BA6DA9
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #595174

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

Preview Lab → · Contrast checker → · Palette generator →

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