#5E506E#5E506E

#5E506E is a mid, muted violet. Relative luminance 0.092; OKLCH L 45.7% C 0.051 H 305.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5E506E
RGBrgb(94, 80, 110)
HSLhsl(268, 16%, 37%)
HSVhsv(268, 27%, 43%)
CMYKcmyk(14.5%, 27.3%, 0%, 56.9%)
CIE-LABlab(36.45, 12.30, -15.09)
CIE-LCHlch(36.45, 19.47, 309.19°)
OKLaboklab(45.69% 0.0297 -0.0412)
OKLCHoklch(45.69% 0.051 305.7)
XYZxyz(10.2987, 9.2428, 15.9903)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E506E #606E50
analogous
#50516E #5E506E #6D506E
triadic
#5E506E #6E5E50 #506E5E
tetradic
#5E506E #6E5051 #606E50 #506E6D
square
#5E506E #6E5051 #606E50 #506E6D
split-complementary
#5E506E #6E6D50 #516E50
monochromatic
#211C27 #40364B #5E506E #7C6A91 #9B8DAC

Accessibility & contrast

On white

7.37
#5E506E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5E506E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E506E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E506E#FFFFFF#000000##FFFFFF
##5E506E1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556F
Deuteranopia (green-blind)
#4D566D
Tritanopia (blue-blind)
#5C545A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e506e;
/* rgb */ color: rgb(94, 80, 110);
/* oklch */ color: oklch(45.7% 0.051 305.7);
Tailwind
colors: {
  custom: {
    50: '#8c8197',
    500: '#5e506e',
    950: '#000000',
  },
}
SCSS
$custom: #5e506e;
$custom-light: #8c8197;
$custom-dark: #000000;
JSON
{
  "hex": "#5e506e",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 110
  },
  "hsl": {
    "h": 268,
    "s": 15.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4569,
    "c": 0.05081,
    "h": 305.7
  },
  "luminance": 0.09243
}

Semantic roles & 50–950 ramp

primary
#5E506E
secondary
#8E9A80
accent
#B96F96
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0D
muted
#7D7C7E

Preview Lab

Preview with #5E506E

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

Preview Lab → · Contrast checker → · Palette generator →

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