#595274#595274

#595274 is a mid, muted violet. Relative luminance 0.094; OKLCH L 45.9% C 0.055 H 293.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#595274
RGBrgb(89, 82, 116)
HSLhsl(252, 17%, 39%)
HSVhsv(252, 29%, 45%)
CMYKcmyk(23.3%, 29.3%, 0%, 54.5%)
CIE-LABlab(36.78, 10.80, -18.35)
CIE-LCHlch(36.78, 21.29, 300.47°)
OKLaboklab(45.91% 0.022 -0.0506)
OKLCHoklch(45.91% 0.055 293.6)
XYZxyz(10.2888, 9.4193, 17.7957)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595274 #6D7452
analogous
#525C74 #595274 #6A5274
triadic
#595274 #745952 #527459
tetradic
#595274 #74525C #6D7452 #52746A
square
#595274 #74525C #6D7452 #52746A
split-complementary
#595274 #746A52 #5C7452
monochromatic
#221F2C #3D3950 #595274 #756C97 #9790B0

Accessibility & contrast

On white

7.28
#595274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#595274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595274
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595274#FFFFFF#000000##FFFFFF
##5952741.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5775
Deuteranopia (green-blind)
#4B5673
Tritanopia (blue-blind)
#54585E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #595274;
/* rgb */ color: rgb(89, 82, 116);
/* oklch */ color: oklch(45.9% 0.055 293.6);
Tailwind
colors: {
  custom: {
    50: '#88829c',
    500: '#595274',
    950: '#000000',
  },
}
SCSS
$custom: #595274;
$custom-light: #88829c;
$custom-dark: #000000;
JSON
{
  "hex": "#595274",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 252.353,
    "s": 17.172,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.05516,
    "h": 293.6
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#595274
secondary
#999E84
accent
#BA6EAA
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #595274

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

Preview Lab → · Contrast checker → · Palette generator →

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