#5C368F#5C368F

#5C368F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.142 H 300.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#5C368F
RGBrgb(92, 54, 143)
HSLhsl(266, 45%, 39%)
HSVhsv(266, 62%, 56%)
CMYKcmyk(35.7%, 62.2%, 0%, 43.9%)
CIE-LABlab(31.57, 36.30, -43.24)
CIE-LCHlch(31.57, 56.46, 310.01°)
OKLaboklab(42.56% 0.0711 -0.1227)
OKLCHoklch(42.56% 0.142 300.1)
XYZxyz(10.6895, 6.8967, 26.7493)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C368F #698F36
analogous
#363C8F #5C368F #88368F
triadic
#5C368F #8F5C36 #368F5C
tetradic
#5C368F #8F363C #698F36 #368F88
square
#5C368F #8F363C #698F36 #368F88
split-complementary
#5C368F #8F8836 #3C8F36
monochromatic
#231436 #3F2563 #5C368F #7948BA #9975CB

Accessibility & contrast

On white

8.83
#5C368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5C368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C368F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C368F#FFFFFF#000000##FFFFFF
##5C368F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#174A8D
Tritanopia (blue-blind)
#51495D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5c368f;
/* rgb */ color: rgb(92, 54, 143);
/* oklch */ color: oklch(42.6% 0.142 300.1);
Tailwind
colors: {
  custom: {
    50: '#8e6fb0',
    500: '#5c368f',
    950: '#000000',
  },
}
SCSS
$custom: #5c368f;
$custom-light: #8e6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c368f",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 265.618,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.14185,
    "h": 300.1
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#5C368F
secondary
#96B36D
accent
#D5539D
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #5C368F

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

Preview Lab → · Contrast checker → · Palette generator →

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