#595178#595178

#595178 is a mid, moderate violet. Relative luminance 0.094; OKLCH L 45.9% C 0.063 H 293.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#595178
RGBrgb(89, 81, 120)
HSLhsl(252, 19%, 39%)
HSVhsv(252, 33%, 47%)
CMYKcmyk(25.8%, 32.5%, 0%, 52.9%)
CIE-LABlab(36.68, 12.49, -20.98)
CIE-LCHlch(36.68, 24.42, 300.76°)
OKLaboklab(45.89% 0.0248 -0.0581)
OKLCHoklch(45.89% 0.063 293.2)
XYZxyz(10.4516, 9.3646, 19.0226)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595178 #707851
analogous
#515D78 #595178 #6D5178
triadic
#595178 #785951 #517859
tetradic
#595178 #78515D #707851 #51786D
square
#595178 #78515D #707851 #51786D
split-complementary
#595178 #786D51 #5D7851
monochromatic
#23202F #3E3853 #595178 #756B9B #9790B4

Accessibility & contrast

On white

7.31
#595178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #595178
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595178#FFFFFF#000000##FFFFFF
##5951781.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577A
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#53585F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #595178;
/* rgb */ color: rgb(89, 81, 120);
/* oklch */ color: oklch(45.9% 0.063 293.2);
Tailwind
colors: {
  custom: {
    50: '#88819f',
    500: '#595178',
    950: '#000000',
  },
}
SCSS
$custom: #595178;
$custom-light: #88819f;
$custom-dark: #000000;
JSON
{
  "hex": "#595178",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 252.308,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45894,
    "c": 0.06316,
    "h": 293.2
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#595178
secondary
#9BA184
accent
#BC6CAC
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #595178

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

Preview Lab → · Contrast checker → · Palette generator →

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