#5C2E89#5C2E89

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

Color values

HEX#5C2E89
RGBrgb(92, 46, 137)
HSLhsl(270, 50%, 36%)
HSVhsv(270, 66%, 54%)
CMYKcmyk(32.8%, 66.4%, 0%, 46.3%)
CIE-LABlab(29.50, 39.16, -42.87)
CIE-LCHlch(29.50, 58.07, 312.41°)
OKLaboklab(40.93% 0.0815 -0.1216)
OKLCHoklch(40.93% 0.146 303.8)
XYZxyz(9.9050, 6.0355, 24.3052)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2E89 #5B892E
analogous
#2E2E89 #5C2E89 #892E88
triadic
#5C2E89 #895C2E #2E895C
tetradic
#5C2E89 #892E2E #5B892E #2E8889
square
#5C2E89 #892E2E #5B892E #2E8889
split-complementary
#5C2E89 #88892E #2E892E
monochromatic
#1E0F2D #3D1F5B #5C2E89 #7B3DB7 #9966CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C2E89#FFFFFF#000000##FFFFFF
##5C2E891.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)
#00448C
Deuteranopia (green-blind)
#114587
Tritanopia (blue-blind)
#534257
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c2e89;
/* rgb */ color: rgb(92, 46, 137);
/* oklch */ color: oklch(40.9% 0.146 303.8);
Tailwind
colors: {
  custom: {
    50: '#8e6aac',
    500: '#5c2e89',
    950: '#000000',
  },
}
SCSS
$custom: #5c2e89;
$custom-light: #8e6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2e89",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 270.33,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.14638,
    "h": 303.8
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#5C2E89
secondary
#89B260
accent
#D94F93
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5C2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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