#595181#595181

#595181 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.4% C 0.077 H 290.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#595181
RGBrgb(89, 81, 129)
HSLhsl(250, 23%, 41%)
HSVhsv(250, 37%, 51%)
CMYKcmyk(31%, 37.2%, 0%, 49.4%)
CIE-LABlab(37.10, 14.95, -25.87)
CIE-LCHlch(37.10, 29.87, 300.02°)
OKLaboklab(46.36% 0.0273 -0.0721)
OKLCHoklch(46.36% 0.077 290.7)
XYZxyz(11.0237, 9.5935, 22.0356)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595181 #798151
analogous
#516181 #595181 #715181
triadic
#595181 #815951 #518159
tetradic
#595181 #815161 #798151 #518171
square
#595181 #815161 #798151 #518171
split-complementary
#595181 #817151 #618151
monochromatic
#252236 #3F395B #595181 #756CA3 #9992BA

Accessibility & contrast

On white

7.19
#595181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#595181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595181
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595181#FFFFFF#000000##FFFFFF
##5951811.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#445680
Tritanopia (blue-blind)
#505A63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #595181;
/* rgb */ color: rgb(89, 81, 129);
/* oklch */ color: oklch(46.4% 0.077 290.7);
Tailwind
colors: {
  custom: {
    50: '#8981a6',
    500: '#595181',
    950: '#000000',
  },
}
SCSS
$custom: #595181;
$custom-light: #8981a6;
$custom-dark: #000000;
JSON
{
  "hex": "#595181",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 250,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.07709,
    "h": 290.7
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

primary
#595181
secondary
#A2A886
accent
#BF68B1
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #595181

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

Preview Lab → · Contrast checker → · Palette generator →

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