#5C2E90#5C2E90

#5C2E90 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.155 H 301.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#5C2E90
RGBrgb(92, 46, 144)
HSLhsl(268, 52%, 37%)
HSVhsv(268, 68%, 56%)
CMYKcmyk(36.1%, 68.1%, 0%, 43.5%)
CIE-LABlab(30.02, 40.98, -46.37)
CIE-LCHlch(30.02, 61.88, 311.47°)
OKLaboklab(41.46% 0.0807 -0.1319)
OKLCHoklch(41.46% 0.155 301.5)
XYZxyz(10.4235, 6.2429, 27.0360)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2E90 #62902E
analogous
#2E3190 #5C2E90 #8D2E90
triadic
#5C2E90 #905C2E #2E905C
tetradic
#5C2E90 #902E31 #62902E #2E908D
square
#5C2E90 #902E31 #62902E #2E908D
split-complementary
#5C2E90 #908D2E #31902E
monochromatic
#211033 #3E1F62 #5C2E90 #7A3DBE #9969CF

Accessibility & contrast

On white

9.34
#5C2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5C2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2E90
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2E90#FFFFFF#000000##FFFFFF
##5C2E901.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#51445B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5c2e90;
/* rgb */ color: rgb(92, 46, 144);
/* oklch */ color: oklch(41.5% 0.155 301.5);
Tailwind
colors: {
  custom: {
    50: '#8e6ab1',
    500: '#5c2e90',
    950: '#000000',
  },
}
SCSS
$custom: #5c2e90;
$custom-light: #8e6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2e90",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 268.163,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.15464,
    "h": 301.5
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#5C2E90
secondary
#8FB664
accent
#DB4D98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5C2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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