#5C2689#5C2689

#5C2689 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.157 H 305.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#5C2689
RGBrgb(92, 38, 137)
HSLhsl(273, 57%, 34%)
HSVhsv(273, 72%, 54%)
CMYKcmyk(32.8%, 72.3%, 0%, 46.3%)
CIE-LABlab(28.03, 43.25, -45.26)
CIE-LCHlch(28.03, 62.60, 313.70°)
OKLaboklab(39.87% 0.0907 -0.1286)
OKLCHoklch(39.87% 0.157 305.2)
XYZxyz(9.6211, 5.4677, 24.2106)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2689 #538926
analogous
#2B2689 #5C2689 #892685
triadic
#5C2689 #895C26 #26895C
tetradic
#5C2689 #892B26 #538926 #268589
square
#5C2689 #892B26 #538926 #268589
split-complementary
#5C2689 #858926 #26892B
monochromatic
#1C0B29 #3C1959 #5C2689 #7C33B9 #9A59D1

Accessibility & contrast

On white

10.03
#5C2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5C2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2689
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2689#FFFFFF#000000##FFFFFF
##5C26891.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#543D55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c2689;
/* rgb */ color: rgb(92, 38, 137);
/* oklch */ color: oklch(39.9% 0.157 305.2);
Tailwind
colors: {
  custom: {
    50: '#8e65ac',
    500: '#5c2689',
    950: '#000000',
  },
}
SCSS
$custom: #5c2689;
$custom-light: #8e65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2689",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 272.727,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39872,
    "c": 0.15737,
    "h": 305.2
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#5C2689
secondary
#81B655
accent
#E0488D
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5C2689

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

Preview Lab → · Contrast checker → · Palette generator →

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