#5C2B94#5C2B94

#5C2B94 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.163 H 300.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5C2B94
RGBrgb(92, 43, 148)
HSLhsl(268, 55%, 37%)
HSVhsv(268, 71%, 58%)
CMYKcmyk(37.8%, 70.9%, 0%, 42%)
CIE-LABlab(29.77, 43.57, -49.23)
CIE-LCHlch(29.77, 65.74, 311.51°)
OKLaboklab(41.38% 0.0835 -0.1403)
OKLCHoklch(41.38% 0.163 300.8)
XYZxyz(10.6215, 6.1411, 28.6370)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2B94 #63942B
analogous
#2B2E94 #5C2B94 #912B94
triadic
#5C2B94 #945C2B #2B945C
tetradic
#5C2B94 #942B2E #63942B #2B9491
square
#5C2B94 #942B2E #63942B #2B9491
split-complementary
#5C2B94 #94912B #2E942B
monochromatic
#210F35 #3F1D65 #5C2B94 #7939C3 #9967D3

Accessibility & contrast

On white

9.42
#5C2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5C2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2B94
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2B94#FFFFFF#000000##FFFFFF
##5C2B941.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#50445C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c2b94;
/* rgb */ color: rgb(92, 43, 148);
/* oklch */ color: oklch(41.4% 0.163 300.8);
Tailwind
colors: {
  custom: {
    50: '#8f68b4',
    500: '#5c2b94',
    950: '#000000',
  },
}
SCSS
$custom: #5c2b94;
$custom-light: #8f68b4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2b94",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 268,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4138,
    "c": 0.16328,
    "h": 300.8
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#5C2B94
secondary
#90B962
accent
#DE4999
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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