#5C2C8E#5C2C8E

#5C2C8E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.155 H 302.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5C2C8E
RGBrgb(92, 44, 142)
HSLhsl(269, 53%, 36%)
HSVhsv(269, 69%, 56%)
CMYKcmyk(35.2%, 69%, 0%, 44.3%)
CIE-LABlab(29.49, 41.51, -45.99)
CIE-LCHlch(29.49, 61.95, 312.07°)
OKLaboklab(41.04% 0.0833 -0.1308)
OKLCHoklch(41.04% 0.155 302.5)
XYZxyz(10.1957, 6.0297, 26.2126)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2C8E #5E8E2C
analogous
#2C2D8E #5C2C8E #8D2C8E
triadic
#5C2C8E #8E5C2C #2C8E5C
tetradic
#5C2C8E #8E2C2D #5E8E2C #2C8E8D
square
#5C2C8E #8E2C2D #5E8E2C #2C8E8D
split-complementary
#5C2C8E #8E8D2C #2D8E2C
monochromatic
#1F0F31 #3E1E5F #5C2C8E #7A3ABD #9965CF

Accessibility & contrast

On white

9.52
#5C2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5C2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2C8E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2C8E#FFFFFF#000000##FFFFFF
##5C2C8E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#524259
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c2c8e;
/* rgb */ color: rgb(92, 44, 142);
/* oklch */ color: oklch(41.0% 0.155 302.5);
Tailwind
colors: {
  custom: {
    50: '#8e69b0',
    500: '#5c2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #5c2c8e;
$custom-light: #8e69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2c8e",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 269.388,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41035,
    "c": 0.15505,
    "h": 302.5
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#5C2C8E
secondary
#8CB660
accent
#DC4C95
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5C2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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