#5E5068#5E5068

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

Color values

HEX#5E5068
RGBrgb(94, 80, 104)
HSLhsl(275, 13%, 36%)
HSVhsv(275, 23%, 41%)
CMYKcmyk(9.6%, 23.1%, 0%, 59.2%)
CIE-LABlab(36.21, 10.88, -11.71)
CIE-LCHlch(36.21, 15.98, 312.87°)
OKLaboklab(45.43% 0.0276 -0.0318)
OKLCHoklch(45.43% 0.042 311)
XYZxyz(9.9830, 9.1166, 14.3278)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5068 #5A6850
analogous
#525068 #5E5068 #685066
triadic
#5E5068 #685E50 #50685E
tetradic
#5E5068 #685250 #5A6850 #506668
square
#5E5068 #685250 #5A6850 #506668
split-complementary
#5E5068 #666850 #506852
monochromatic
#1F1B23 #3F3545 #5E5068 #7D6B8B #9B8CA6

Accessibility & contrast

On white

7.44
#5E5068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5E5068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5068
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5068#FFFFFF#000000##FFFFFF
##5E50681.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5068;
/* rgb */ color: rgb(94, 80, 104);
/* oklch */ color: oklch(45.4% 0.042 311.0);
Tailwind
colors: {
  custom: {
    50: '#8c8193',
    500: '#5e5068',
    950: '#000000',
  },
}
SCSS
$custom: #5e5068;
$custom-light: #8c8193;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5068",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 104
  },
  "hsl": {
    "h": 275,
    "s": 13.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45426,
    "c": 0.04208,
    "h": 311
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#5E5068
secondary
#88957F
accent
#B6728E
background
#F8F7F9
surface
#F0EEF1
border
#CBC9CB
text
#0C0A0D
muted
#7D7C7E

Preview Lab

Preview with #5E5068

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

Preview Lab → · Contrast checker → · Palette generator →

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