#5C2EA9#5C2EA9

#5C2EA9 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.184 H 294.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#5C2EA9
RGBrgb(92, 46, 169)
HSLhsl(262, 57%, 42%)
HSVhsv(262, 73%, 66%)
CMYKcmyk(45.6%, 72.8%, 0%, 33.7%)
CIE-LABlab(32.02, 47.63, -58.31)
CIE-LCHlch(32.02, 75.29, 309.24°)
OKLaboklab(43.52% 0.0764 -0.167)
OKLCHoklch(43.52% 0.184 294.6)
XYZxyz(12.5501, 7.0935, 38.2364)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2EA9 #7BA92E
analogous
#2E3EA9 #5C2EA9 #9A2EA9
triadic
#5C2EA9 #A95C2E #2EA95C
tetradic
#5C2EA9 #A92E3E #7BA92E #2EA99A
square
#5C2EA9 #A92E3E #7BA92E #2EA99A
split-complementary
#5C2EA9 #A99A2E #3EA92E
monochromatic
#281449 #422179 #5C2EA9 #7947CD #9C77DA

Accessibility & contrast

On white

8.68
#5C2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5C2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2EA9
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2EA9#FFFFFF#000000##FFFFFF
##5C2EA91.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#464E69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c2ea9;
/* rgb */ color: rgb(92, 46, 169);
/* oklch */ color: oklch(43.5% 0.184 294.6);
Tailwind
colors: {
  custom: {
    50: '#916bc4',
    500: '#5c2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ea9;
$custom-light: #916bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ea9",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 262.439,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43516,
    "c": 0.18367,
    "h": 294.6
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#5C2EA9
secondary
#A4C271
accent
#E047A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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