#5C28A9#5C28A9

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

Color values

HEX#5C28A9
RGBrgb(92, 40, 169)
HSLhsl(264, 62%, 41%)
HSVhsv(264, 76%, 66%)
CMYKcmyk(45.6%, 76.3%, 0%, 33.7%)
CIE-LABlab(31.01, 50.48, -59.96)
CIE-LCHlch(31.01, 78.38, 310.10°)
OKLaboklab(42.81% 0.0818 -0.1718)
OKLCHoklch(42.81% 0.19 295.5)
XYZxyz(12.3319, 6.6572, 38.1636)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C28A9 #75A928
analogous
#2835A9 #5C28A9 #9C28A9
triadic
#5C28A9 #A95C28 #28A95C
tetradic
#5C28A9 #A92835 #75A928 #28A99C
square
#5C28A9 #A92835 #75A928 #28A99C
split-complementary
#5C28A9 #A99C28 #35A928
monochromatic
#261146 #411C78 #5C28A9 #793DD1 #9B6FDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C28A9#FFFFFF#000000##FFFFFF
##5C28A91.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)
#004AAD
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#464B67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c28a9;
/* rgb */ color: rgb(92, 40, 169);
/* oklch */ color: oklch(42.8% 0.190 295.5);
Tailwind
colors: {
  custom: {
    50: '#9268c4',
    500: '#5c28a9',
    950: '#000000',
  },
}
SCSS
$custom: #5c28a9;
$custom-light: #9268c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c28a9",
  "rgb": {
    "r": 92,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 264.186,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.19027,
    "h": 295.5
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#5C28A9
secondary
#9FC469
accent
#E543A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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