#5C1A89#5C1A89

#5C1A89 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.171 H 306.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#5C1A89
RGBrgb(92, 26, 137)
HSLhsl(276, 68%, 32%)
HSVhsv(276, 81%, 54%)
CMYKcmyk(32.8%, 81%, 0%, 46.3%)
CIE-LABlab(26.22, 48.41, -48.20)
CIE-LCHlch(26.22, 68.31, 315.13°)
OKLaboklab(38.59% 0.1024 -0.1372)
OKLCHoklch(38.59% 0.171 306.7)
XYZxyz(9.2974, 4.8203, 24.1027)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1A89 #47891A
analogous
#251A89 #5C1A89 #891A7F
triadic
#5C1A89 #895C1A #1A895C
tetradic
#5C1A89 #89251A #47891A #1A7F89
square
#5C1A89 #89251A #47891A #1A7F89
split-complementary
#5C1A89 #7F891A #1A8925
monochromatic
#170622 #391056 #5C1A89 #7F24BC #9D42DB

Accessibility & contrast

On white

10.69
#5C1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5C1A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1A89
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1A89#FFFFFF#000000##FFFFFF
##5C1A891.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#543752
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c1a89;
/* rgb */ color: rgb(92, 26, 137);
/* oklch */ color: oklch(38.6% 0.171 306.7);
Tailwind
colors: {
  custom: {
    50: '#8f5fac',
    500: '#5c1a89',
    950: '#000000',
  },
}
SCSS
$custom: #5c1a89;
$custom-light: #8f5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1a89",
  "rgb": {
    "r": 92,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 275.676,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38594,
    "c": 0.17114,
    "h": 306.7
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#5C1A89
secondary
#74BC43
accent
#EB3D83
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5C1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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