#5C1883#5C1883

#5C1883 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.167 H 309.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#5C1883
RGBrgb(92, 24, 131)
HSLhsl(278, 69%, 30%)
HSVhsv(278, 82%, 51%)
CMYKcmyk(29.8%, 81.7%, 0%, 48.6%)
CIE-LABlab(25.46, 47.78, -45.66)
CIE-LCHlch(25.46, 66.09, 316.30°)
OKLaboklab(37.91% 0.1056 -0.1297)
OKLCHoklch(37.91% 0.167 309.1)
XYZxyz(8.8362, 4.5674, 21.8844)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1883 #3F8318
analogous
#271883 #5C1883 #831874
triadic
#5C1883 #835C18 #18835C
tetradic
#5C1883 #832718 #3F8318 #187483
square
#5C1883 #832718 #3F8318 #187483
split-complementary
#5C1883 #748318 #188327
monochromatic
#13051C #380F4F #5C1883 #8021B7 #A03ADB

Accessibility & contrast

On white

10.98
#5C1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5C1883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1883
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1883#FFFFFF#000000##FFFFFF
##5C18831.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#56334E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5c1883;
/* rgb */ color: rgb(92, 24, 131);
/* oklch */ color: oklch(37.9% 0.167 309.1);
Tailwind
colors: {
  custom: {
    50: '#8f5ea8',
    500: '#5c1883',
    950: '#000000',
  },
}
SCSS
$custom: #5c1883;
$custom-light: #8f5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1883",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 278.131,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37913,
    "c": 0.16723,
    "h": 309.1
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#5C1883
secondary
#6BB740
accent
#EC3C7C
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5C1883

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

Preview Lab → · Contrast checker → · Palette generator →

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