#5E526A#5E526A

#5E526A is a mid, muted violet. Relative luminance 0.095; OKLCH L 45.9% C 0.041 H 307.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5E526A
RGBrgb(94, 82, 106)
HSLhsl(270, 13%, 37%)
HSVhsv(270, 23%, 42%)
CMYKcmyk(11.3%, 22.6%, 0%, 58.4%)
CIE-LABlab(36.85, 10.09, -11.99)
CIE-LCHlch(36.85, 15.67, 310.07°)
OKLaboklab(45.94% 0.025 -0.0326)
OKLCHoklch(45.94% 0.041 307.5)
XYZxyz(10.2344, 9.4549, 14.9187)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E526A #5E6A52
analogous
#52526A #5E526A #6A526A
triadic
#5E526A #6A5E52 #526A5E
tetradic
#5E526A #6A5252 #5E6A52 #526A6A
square
#5E526A #6A5252 #5E6A52 #526A6A
split-complementary
#5E526A #6A6A52 #526A52
monochromatic
#211D25 #3F3747 #5E526A #7D6D8D #9B8EA8

Accessibility & contrast

On white

7.26
#5E526A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5E526A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E526A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E526A#FFFFFF#000000##FFFFFF
##5E526A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E566B
Deuteranopia (green-blind)
#505769
Tritanopia (blue-blind)
#5D555A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e526a;
/* rgb */ color: rgb(94, 82, 106);
/* oklch */ color: oklch(45.9% 0.041 307.5);
Tailwind
colors: {
  custom: {
    50: '#8b8294',
    500: '#5e526a',
    950: '#000000',
  },
}
SCSS
$custom: #5e526a;
$custom-light: #8b8294;
$custom-dark: #000000;
JSON
{
  "hex": "#5e526a",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 106
  },
  "hsl": {
    "h": 270,
    "s": 12.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45944,
    "c": 0.04103,
    "h": 307.5
  },
  "luminance": 0.09455
}

Semantic roles & 50–950 ramp

primary
#5E526A
secondary
#8C9682
accent
#B67294
background
#F8F7F9
surface
#F0EEF1
border
#CBC9CB
text
#0C0A0D
muted
#7D7C7E

Preview Lab

Preview with #5E526A

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

Preview Lab → · Contrast checker → · Palette generator →

#5E526A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva