#5C367E#5C367E

#5C367E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.120 H 306.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#5C367E
RGBrgb(92, 54, 126)
HSLhsl(272, 40%, 35%)
HSVhsv(272, 57%, 49%)
CMYKcmyk(27%, 57.1%, 0%, 50.6%)
CIE-LABlab(30.45, 31.81, -34.50)
CIE-LCHlch(30.45, 46.93, 312.68°)
OKLaboklab(41.38% 0.0711 -0.0971)
OKLCHoklch(41.38% 0.12 306.2)
XYZxyz(9.4979, 6.4201, 20.4735)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C367E #587E36
analogous
#38367E #5C367E #7E367C
triadic
#5C367E #7E5C36 #367E5C
tetradic
#5C367E #7E3836 #587E36 #367C7E
square
#5C367E #7E3836 #587E36 #367C7E
split-complementary
#5C367E #7C7E36 #367E38
monochromatic
#1D1128 #3D2453 #5C367E #7B48A9 #9A6EC1

Accessibility & contrast

On white

9.19
#5C367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5C367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C367E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C367E#FFFFFF#000000##FFFFFF
##5C367E1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#574354
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5c367e;
/* rgb */ color: rgb(92, 54, 126);
/* oklch */ color: oklch(41.4% 0.120 306.2);
Tailwind
colors: {
  custom: {
    50: '#8c6ea4',
    500: '#5c367e',
    950: '#000000',
  },
}
SCSS
$custom: #5c367e;
$custom-light: #8c6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c367e",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 271.667,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41382,
    "c": 0.12031,
    "h": 306.2
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#5C367E
secondary
#86A967
accent
#D05891
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5C367E

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

Preview Lab → · Contrast checker → · Palette generator →

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