#5C2A92#5C2A92

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

Color values

HEX#5C2A92
RGBrgb(92, 42, 146)
HSLhsl(269, 55%, 37%)
HSVhsv(269, 71%, 57%)
CMYKcmyk(37%, 71.2%, 0%, 42.7%)
CIE-LABlab(29.43, 43.55, -48.55)
CIE-LCHlch(29.43, 65.22, 311.89°)
OKLaboklab(41.09% 0.0849 -0.1383)
OKLCHoklch(41.09% 0.162 301.5)
XYZxyz(10.4287, 6.0065, 27.7985)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2A92 #60922A
analogous
#2A2C92 #5C2A92 #902A92
triadic
#5C2A92 #925C2A #2A925C
tetradic
#5C2A92 #922A2C #60922A #2A9290
square
#5C2A92 #922A2C #60922A #2A9290
split-complementary
#5C2A92 #92902A #2C922A
monochromatic
#200F33 #3E1C62 #5C2A92 #7A38C2 #9964D2

Accessibility & contrast

On white

9.54
#5C2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5C2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2A92
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2A92#FFFFFF#000000##FFFFFF
##5C2A921.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#50435B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c2a92;
/* rgb */ color: rgb(92, 42, 146);
/* oklch */ color: oklch(41.1% 0.162 301.5);
Tailwind
colors: {
  custom: {
    50: '#8f68b3',
    500: '#5c2a92',
    950: '#000000',
  },
}
SCSS
$custom: #5c2a92;
$custom-light: #8f68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2a92",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 268.846,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.16229,
    "h": 301.5
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#5C2A92
secondary
#8EB85F
accent
#DF4997
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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