#5C1485#5C1485

#5C1485 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.173 H 308.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#5C1485
RGBrgb(92, 20, 133)
HSLhsl(278, 74%, 30%)
HSVhsv(278, 85%, 52%)
CMYKcmyk(30.8%, 85%, 0%, 47.8%)
CIE-LABlab(25.17, 49.58, -47.41)
CIE-LCHlch(25.17, 68.60, 316.29°)
OKLaboklab(37.76% 0.1082 -0.1348)
OKLCHoklch(37.76% 0.173 308.7)
XYZxyz(8.8965, 4.4692, 22.5797)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1485 #3D8514
analogous
#231485 #5C1485 #851476
triadic
#5C1485 #855C14 #14855C
tetradic
#5C1485 #852314 #3D8514 #147685
square
#5C1485 #852314 #3D8514 #147685
split-complementary
#5C1485 #768514 #148523
monochromatic
#12041B #370C50 #5C1485 #811CBA #A133E0

Accessibility & contrast

On white

11.09
#5C1485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5C1485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1485
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1485#FFFFFF#000000##FFFFFF
##5C14851.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#55334E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5c1485;
/* rgb */ color: rgb(92, 20, 133);
/* oklch */ color: oklch(37.8% 0.173 308.7);
Tailwind
colors: {
  custom: {
    50: '#8f5da9',
    500: '#5c1485',
    950: '#000000',
  },
}
SCSS
$custom: #5c1485;
$custom-light: #8f5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1485",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 133
  },
  "hsl": {
    "h": 278.23,
    "s": 73.856,
    "l": 30
  },
  "oklch": {
    "l": 0.37756,
    "c": 0.17281,
    "h": 308.7
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#5C1485
secondary
#69BA3B
accent
#F1377A
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5C1485

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

Preview Lab → · Contrast checker → · Palette generator →

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