#5C489F#5C489F

#5C489F is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.7% C 0.136 H 290.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5C489F
RGBrgb(92, 72, 159)
HSLhsl(254, 38%, 45%)
HSVhsv(254, 55%, 62%)
CMYKcmyk(42.1%, 54.7%, 0%, 37.6%)
CIE-LABlab(36.77, 30.09, -44.61)
CIE-LCHlch(36.77, 53.81, 304.00°)
OKLaboklab(46.73% 0.0481 -0.1268)
OKLCHoklch(46.73% 0.136 290.8)
XYZxyz(12.9873, 9.4128, 33.9267)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C489F #8B9F48
analogous
#48609F #5C489F #87489F
triadic
#5C489F #9F5C48 #489F5C
tetradic
#5C489F #9F4860 #8B9F48 #489F87
square
#5C489F #9F4860 #8B9F48 #489F87
split-complementary
#5C489F #9F8748 #609F48
monochromatic
#2B224B #443575 #5C489F #7C69BB #A193CE

Accessibility & contrast

On white

7.29
#5C489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C489F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C489F#FFFFFF#000000##FFFFFF
##5C489F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#22559D
Tritanopia (blue-blind)
#495A6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c489f;
/* rgb */ color: rgb(92, 72, 159);
/* oklch */ color: oklch(46.7% 0.136 290.8);
Tailwind
colors: {
  custom: {
    50: '#8e7bbc',
    500: '#5c489f',
    950: '#000000',
  },
}
SCSS
$custom: #5c489f;
$custom-light: #8e7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c489f",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 253.793,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46729,
    "c": 0.13559,
    "h": 290.8
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#5C489F
secondary
#AFBA89
accent
#CE5AB3
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5C489F

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

Preview Lab → · Contrast checker → · Palette generator →

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