#5C2CA1#5C2CA1

#5C2CA1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.177 H 296.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#5C2CA1
RGBrgb(92, 44, 161)
HSLhsl(265, 57%, 40%)
HSVhsv(265, 73%, 63%)
CMYKcmyk(42.9%, 72.7%, 0%, 36.9%)
CIE-LABlab(31.00, 46.48, -55.16)
CIE-LCHlch(31.00, 72.13, 310.12°)
OKLaboklab(42.58% 0.08 -0.1577)
OKLCHoklch(42.58% 0.177 296.9)
XYZxyz(11.7457, 6.6497, 34.3760)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CA1 #71A12C
analogous
#2C37A1 #5C2CA1 #962CA1
triadic
#5C2CA1 #A15C2C #2CA15C
tetradic
#5C2CA1 #A12C37 #71A12C #2CA196
square
#5C2CA1 #A12C37 #71A12C #2CA196
split-complementary
#5C2CA1 #A1962C #37A12C
monochromatic
#251241 #411F71 #5C2CA1 #7940CB #9A70D8

Accessibility & contrast

On white

9.01
#5C2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5C2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CA1
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CA1#FFFFFF#000000##FFFFFF
##5C2CA11.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#4A4A64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c2ca1;
/* rgb */ color: rgb(92, 44, 161);
/* oklch */ color: oklch(42.6% 0.177 296.9);
Tailwind
colors: {
  custom: {
    50: '#9069be',
    500: '#5c2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ca1;
$custom-light: #9069be;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ca1",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 264.615,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42583,
    "c": 0.17688,
    "h": 296.9
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#5C2CA1
secondary
#9CBF6A
accent
#E047A2
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5C2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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