#5E489D#5E489D

#5E489D is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.8% C 0.133 H 292.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5E489D
RGBrgb(94, 72, 157)
HSLhsl(256, 37%, 45%)
HSVhsv(256, 54%, 62%)
CMYKcmyk(40.1%, 54.1%, 0%, 38.4%)
CIE-LABlab(36.83, 30.00, -43.29)
CIE-LCHlch(36.83, 52.67, 304.72°)
OKLaboklab(46.78% 0.0507 -0.1228)
OKLCHoklch(46.78% 0.133 292.4)
XYZxyz(13.0176, 9.4484, 33.0296)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E489D #879D48
analogous
#485D9D #5E489D #88489D
triadic
#5E489D #9D5E48 #489D5E
tetradic
#5E489D #9D485D #879D48 #489D88
square
#5E489D #9D485D #879D48 #489D88
split-complementary
#5E489D #9D8848 #5D9D48
monochromatic
#2C2249 #453573 #5E489D #7D68BA #A292CD

Accessibility & contrast

On white

7.27
#5E489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E489D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E489D#FFFFFF#000000##FFFFFF
##5E489D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A0
Deuteranopia (green-blind)
#27559B
Tritanopia (blue-blind)
#4E5A6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e489d;
/* rgb */ color: rgb(94, 72, 157);
/* oklch */ color: oklch(46.8% 0.133 292.4);
Tailwind
colors: {
  custom: {
    50: '#8f7bba',
    500: '#5e489d',
    950: '#000000',
  },
}
SCSS
$custom: #5e489d;
$custom-light: #8f7bba;
$custom-dark: #000000;
JSON
{
  "hex": "#5e489d",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 255.529,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46784,
    "c": 0.13287,
    "h": 292.4
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#5E489D
secondary
#ACB988
accent
#CD5BAF
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5E489D

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

Preview Lab → · Contrast checker → · Palette generator →

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