#5C1683#5C1683

#5C1683 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.169 H 309.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#5C1683
RGBrgb(92, 22, 131)
HSLhsl(279, 71%, 30%)
HSVhsv(279, 83%, 51%)
CMYKcmyk(29.8%, 83.2%, 0%, 48.6%)
CIE-LABlab(25.22, 48.48, -46.06)
CIE-LCHlch(25.22, 66.87, 316.47°)
OKLaboklab(37.74% 0.1072 -0.1308)
OKLCHoklch(37.74% 0.169 309.3)
XYZxyz(8.7964, 4.4880, 21.8712)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1683 #3D8316
analogous
#251683 #5C1683 #831674
triadic
#5C1683 #835C16 #16835C
tetradic
#5C1683 #832516 #3D8316 #167483
square
#5C1683 #832516 #3D8316 #167483
split-complementary
#5C1683 #748316 #168325
monochromatic
#12041A #370D4F #5C1683 #811FB7 #A136DD

Accessibility & contrast

On white

11.07
#5C1683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#5C1683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1683
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1683#FFFFFF#000000##FFFFFF
##5C16831.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1683;
/* rgb */ color: rgb(92, 22, 131);
/* oklch */ color: oklch(37.7% 0.169 309.3);
Tailwind
colors: {
  custom: {
    50: '#8f5da8',
    500: '#5c1683',
    950: '#000000',
  },
}
SCSS
$custom: #5c1683;
$custom-light: #8f5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1683",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 278.532,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.37744,
    "c": 0.16914,
    "h": 309.3
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#5C1683
secondary
#69B73D
accent
#EE3A7A
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5C1683

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

Preview Lab → · Contrast checker → · Palette generator →

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