#5C2B91#5C2B91

#5C2B91 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.160 H 301.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5C2B91
RGBrgb(92, 43, 145)
HSLhsl(269, 54%, 37%)
HSVhsv(269, 70%, 57%)
CMYKcmyk(36.6%, 70.3%, 0%, 43.1%)
CIE-LABlab(29.53, 42.79, -47.77)
CIE-LCHlch(29.53, 64.13, 311.85°)
OKLaboklab(41.14% 0.084 -0.136)
OKLCHoklch(41.14% 0.16 301.7)
XYZxyz(10.3871, 6.0474, 27.4026)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2B91 #60912B
analogous
#2B2D91 #5C2B91 #8F2B91
triadic
#5C2B91 #915C2B #2B915C
tetradic
#5C2B91 #912B2D #60912B #2B918F
square
#5C2B91 #912B2D #60912B #2B918F
split-complementary
#5C2B91 #918F2B #2D912B
monochromatic
#200F33 #3E1D62 #5C2B91 #7A39C0 #9965D1

Accessibility & contrast

On white

9.50
#5C2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5C2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2B91
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2B91#FFFFFF#000000##FFFFFF
##5C2B911.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#51435A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c2b91;
/* rgb */ color: rgb(92, 43, 145);
/* oklch */ color: oklch(41.1% 0.160 301.7);
Tailwind
colors: {
  custom: {
    50: '#8f68b2',
    500: '#5c2b91',
    950: '#000000',
  },
}
SCSS
$custom: #5c2b91;
$custom-light: #8f68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2b91",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 268.824,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.15985,
    "h": 301.7
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#5C2B91
secondary
#8EB860
accent
#DE4A97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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