#5E489B#5E489B

#5E489B is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.6% C 0.130 H 292.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5E489B
RGBrgb(94, 72, 155)
HSLhsl(256, 37%, 45%)
HSVhsv(256, 54%, 61%)
CMYKcmyk(39.4%, 53.5%, 0%, 39.2%)
CIE-LABlab(36.71, 29.42, -42.29)
CIE-LCHlch(36.71, 51.52, 304.83°)
OKLaboklab(46.65% 0.0506 -0.1199)
OKLCHoklch(46.65% 0.13 292.9)
XYZxyz(12.8483, 9.3807, 32.1377)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E489B #859B48
analogous
#485B9B #5E489B #88489B
triadic
#5E489B #9B5E48 #489B5E
tetradic
#5E489B #9B485B #859B48 #489B88
square
#5E489B #9B485B #859B48 #489B88
split-complementary
#5E489B #9B8848 #5B9B48
monochromatic
#2B2147 #453571 #5E489B #7D68B9 #A191CC

Accessibility & contrast

On white

7.30
#5E489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5E489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E489B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E489B#FFFFFF#000000##FFFFFF
##5E489B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579E
Deuteranopia (green-blind)
#295599
Tritanopia (blue-blind)
#4E596A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e489b;
/* rgb */ color: rgb(94, 72, 155);
/* oklch */ color: oklch(46.6% 0.130 292.9);
Tailwind
colors: {
  custom: {
    50: '#8f7bb9',
    500: '#5e489b',
    950: '#000000',
  },
}
SCSS
$custom: #5e489b;
$custom-light: #8f7bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e489b",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 255.904,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46649,
    "c": 0.1301,
    "h": 292.9
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#5E489B
secondary
#ABB887
accent
#CD5BAF
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #5E489B

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

Preview Lab → · Contrast checker → · Palette generator →

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