#5C2CA0#5C2CA0

#5C2CA0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.176 H 297.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#5C2CA0
RGBrgb(92, 44, 160)
HSLhsl(265, 57%, 40%)
HSVhsv(265, 73%, 63%)
CMYKcmyk(42.5%, 72.5%, 0%, 37.3%)
CIE-LABlab(30.91, 46.22, -54.69)
CIE-LCHlch(30.91, 71.60, 310.20°)
OKLaboklab(42.5% 0.0803 -0.1563)
OKLCHoklch(42.5% 0.176 297.2)
XYZxyz(11.6578, 6.6145, 33.9134)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CA0 #70A02C
analogous
#2C36A0 #5C2CA0 #962CA0
triadic
#5C2CA0 #A05C2C #2CA05C
tetradic
#5C2CA0 #A02C36 #70A02C #2CA096
square
#5C2CA0 #A02C36 #70A02C #2CA096
split-complementary
#5C2CA0 #A0962C #36A02C
monochromatic
#251240 #401F70 #5C2CA0 #793FCA #9A6FD7

Accessibility & contrast

On white

9.04
#5C2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5C2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CA0
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CA0#FFFFFF#000000##FFFFFF
##5C2CA01.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#4B4963
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c2ca0;
/* rgb */ color: rgb(92, 44, 160);
/* oklch */ color: oklch(42.5% 0.176 297.2);
Tailwind
colors: {
  custom: {
    50: '#9069bd',
    500: '#5c2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ca0;
$custom-light: #9069bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ca0",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 264.828,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.17574,
    "h": 297.2
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#5C2CA0
secondary
#9BBF69
accent
#E048A1
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5C2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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