#5C1E89#5C1E89

#5C1E89 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.167 H 306.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#5C1E89
RGBrgb(92, 30, 137)
HSLhsl(275, 64%, 33%)
HSVhsv(275, 78%, 54%)
CMYKcmyk(32.8%, 78.1%, 0%, 46.3%)
CIE-LABlab(26.76, 46.84, -47.31)
CIE-LCHlch(26.76, 66.57, 314.71°)
OKLaboklab(38.98% 0.0988 -0.1346)
OKLCHoklch(38.98% 0.167 306.3)
XYZxyz(9.3923, 5.0101, 24.1343)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1E89 #4B891E
analogous
#261E89 #5C1E89 #891E81
triadic
#5C1E89 #895C1E #1E895C
tetradic
#5C1E89 #89261E #4B891E #1E8189
square
#5C1E89 #89261E #4B891E #1E8189
split-complementary
#5C1E89 #81891E #1E8926
monochromatic
#190825 #3A1357 #5C1E89 #7E29BB #9C4AD7

Accessibility & contrast

On white

10.49
#5C1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5C1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1E89
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1E89#FFFFFF#000000##FFFFFF
##5C1E891.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#543953
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5c1e89;
/* rgb */ color: rgb(92, 30, 137);
/* oklch */ color: oklch(39.0% 0.167 306.3);
Tailwind
colors: {
  custom: {
    50: '#8f61ac',
    500: '#5c1e89',
    950: '#000000',
  },
}
SCSS
$custom: #5c1e89;
$custom-light: #8f61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1e89",
  "rgb": {
    "r": 92,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 274.766,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38977,
    "c": 0.16695,
    "h": 306.3
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#5C1E89
secondary
#78BA49
accent
#E74187
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5C1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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