#5D5068#5D5068

#5D5068 is a mid, muted violet. Relative luminance 0.091; OKLCH L 45.3% C 0.042 H 309.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5D5068
RGBrgb(93, 80, 104)
HSLhsl(273, 13%, 36%)
HSVhsv(273, 23%, 41%)
CMYKcmyk(10.6%, 23.1%, 0%, 59.2%)
CIE-LABlab(36.11, 10.50, -11.88)
CIE-LCHlch(36.11, 15.85, 311.49°)
OKLaboklab(45.33% 0.0263 -0.0322)
OKLCHoklch(45.33% 0.042 309.2)
XYZxyz(9.8811, 9.0640, 14.3230)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5068 #5B6850
analogous
#515068 #5D5068 #685067
triadic
#5D5068 #685D50 #50685D
tetradic
#5D5068 #685150 #5B6850 #506768
square
#5D5068 #685150 #5B6850 #506768
split-complementary
#5D5068 #676850 #506851
monochromatic
#1F1B23 #3E3545 #5D5068 #7C6B8B #9A8CA6

Accessibility & contrast

On white

7.47
#5D5068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5D5068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5068
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5068#FFFFFF#000000##FFFFFF
##5D50681.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5469
Deuteranopia (green-blind)
#4F5567
Tritanopia (blue-blind)
#5C5358
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d5068;
/* rgb */ color: rgb(93, 80, 104);
/* oklch */ color: oklch(45.3% 0.042 309.2);
Tailwind
colors: {
  custom: {
    50: '#8b8193',
    500: '#5d5068',
    950: '#000000',
  },
}
SCSS
$custom: #5d5068;
$custom-light: #8b8193;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5068",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 104
  },
  "hsl": {
    "h": 272.5,
    "s": 13.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45325,
    "c": 0.04161,
    "h": 309.2
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#5D5068
secondary
#89957F
accent
#B67291
background
#F8F7F9
surface
#F0EEF1
border
#CBC9CB
text
#0C0A0D
muted
#7D7C7E

Preview Lab

Preview with #5D5068

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

Preview Lab → · Contrast checker → · Palette generator →

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