#5E489A#5E489A

#5E489A is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.6% C 0.129 H 293.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5E489A
RGBrgb(94, 72, 154)
HSLhsl(256, 36%, 44%)
HSVhsv(256, 53%, 60%)
CMYKcmyk(39%, 53.2%, 0%, 39.6%)
CIE-LABlab(36.64, 29.14, -41.78)
CIE-LCHlch(36.64, 50.94, 304.89°)
OKLaboklab(46.58% 0.0505 -0.1184)
OKLCHoklch(46.58% 0.129 293.1)
XYZxyz(12.7646, 9.3472, 31.6972)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E489A #849A48
analogous
#485B9A #5E489A #87489A
triadic
#5E489A #9A5E48 #489A5E
tetradic
#5E489A #9A485B #849A48 #489A87
square
#5E489A #9A485B #849A48 #489A87
split-complementary
#5E489A #9A8748 #5B9A48
monochromatic
#2B2147 #453570 #5E489A #7D67B8 #A191CC

Accessibility & contrast

On white

7.32
#5E489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5E489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E489A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E489A#FFFFFF#000000##FFFFFF
##5E489A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579D
Deuteranopia (green-blind)
#2A5598
Tritanopia (blue-blind)
#4F596A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e489a;
/* rgb */ color: rgb(94, 72, 154);
/* oklch */ color: oklch(46.6% 0.129 293.1);
Tailwind
colors: {
  custom: {
    50: '#8f7bb8',
    500: '#5e489a',
    950: '#000000',
  },
}
SCSS
$custom: #5e489a;
$custom-light: #8f7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e489a",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 256.098,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46582,
    "c": 0.12873,
    "h": 293.1
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#5E489A
secondary
#AAB786
accent
#CC5CAE
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #5E489A

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

Preview Lab → · Contrast checker → · Palette generator →

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