#5C409F#5C409F

#5C409F is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.3% C 0.148 H 293.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5C409F
RGBrgb(92, 64, 159)
HSLhsl(258, 43%, 44%)
HSVhsv(258, 60%, 62%)
CMYKcmyk(42.1%, 59.7%, 0%, 37.6%)
CIE-LABlab(34.89, 34.93, -47.63)
CIE-LCHlch(34.89, 59.06, 306.25°)
OKLaboklab(45.35% 0.0581 -0.1356)
OKLCHoklch(45.35% 0.148 293.2)
XYZxyz(12.5034, 8.4450, 33.7654)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C409F #839F40
analogous
#40539F #5C409F #8B409F
triadic
#5C409F #9F5C40 #409F5C
tetradic
#5C409F #9F4053 #839F40 #409F8B
square
#5C409F #9F4053 #839F40 #409F8B
split-complementary
#5C409F #9F8B40 #539F40
monochromatic
#2A1D48 #432E73 #5C409F #7A5EBE #9E8AD0

Accessibility & contrast

On white

7.81
#5C409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5C409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C409F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C409F#FFFFFF#000000##FFFFFF
##5C409F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#0E509D
Tritanopia (blue-blind)
#4A5569
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c409f;
/* rgb */ color: rgb(92, 64, 159);
/* oklch */ color: oklch(45.3% 0.148 293.2);
Tailwind
colors: {
  custom: {
    50: '#8f76bc',
    500: '#5c409f',
    950: '#000000',
  },
}
SCSS
$custom: #5c409f;
$custom-light: #8f76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c409f",
  "rgb": {
    "r": 92,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 257.684,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45346,
    "c": 0.14756,
    "h": 293.2
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#5C409F
secondary
#A9BB80
accent
#D255AE
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5C409F

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

Preview Lab → · Contrast checker → · Palette generator →

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