#5E507A#5E507A

#5E507A is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.3% C 0.069 H 299.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5E507A
RGBrgb(94, 80, 122)
HSLhsl(260, 21%, 40%)
HSVhsv(260, 34%, 48%)
CMYKcmyk(23%, 34.4%, 0%, 52.2%)
CIE-LABlab(36.97, 15.32, -21.73)
CIE-LCHlch(36.97, 26.58, 305.18°)
OKLaboklab(46.26% 0.0333 -0.0601)
OKLCHoklch(46.26% 0.069 299)
XYZxyz(10.9968, 9.5221, 19.6672)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E507A #6C7A50
analogous
#50577A #5E507A #73507A
triadic
#5E507A #7A5E50 #507A5E
tetradic
#5E507A #7A5057 #6C7A50 #507A73
square
#5E507A #7A5057 #6C7A50 #507A73
split-complementary
#5E507A #7A7350 #577A50
monochromatic
#252030 #423855 #5E507A #7B6A9D #9C8FB5

Accessibility & contrast

On white

7.23
#5E507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5E507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E507A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E507A#FFFFFF#000000##FFFFFF
##5E507A1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577C
Deuteranopia (green-blind)
#495779
Tritanopia (blue-blind)
#59575F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e507a;
/* rgb */ color: rgb(94, 80, 122);
/* oklch */ color: oklch(46.3% 0.069 299.0);
Tailwind
colors: {
  custom: {
    50: '#8c81a0',
    500: '#5e507a',
    950: '#000000',
  },
}
SCSS
$custom: #5e507a;
$custom-light: #8c81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e507a",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 260,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.06873,
    "h": 299
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#5E507A
secondary
#98A383
accent
#BD6AA2
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5E507A

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

Preview Lab → · Contrast checker → · Palette generator →

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