#5C2693#5C2693

#5C2693 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.168 H 301.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#5C2693
RGBrgb(92, 38, 147)
HSLhsl(270, 59%, 36%)
HSVhsv(270, 74%, 58%)
CMYKcmyk(37.4%, 74.1%, 0%, 42.4%)
CIE-LABlab(28.82, 45.74, -50.16)
CIE-LCHlch(28.82, 67.88, 312.37°)
OKLaboklab(40.68% 0.0889 -0.143)
OKLCHoklch(40.68% 0.168 301.9)
XYZxyz(10.3719, 5.7681, 28.1650)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2693 #5D9326
analogous
#262793 #5C2693 #932693
triadic
#5C2693 #935C26 #26935C
tetradic
#5C2693 #932627 #5D9326 #269393
square
#5C2693 #932627 #5D9326 #269393
split-complementary
#5C2693 #939326 #279326
monochromatic
#1F0D32 #3E1962 #5C2693 #7A33C4 #995ED5

Accessibility & contrast

On white

9.75
#5C2693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5C2693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2693
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2693#FFFFFF#000000##FFFFFF
##5C26931.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#50415A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c2693;
/* rgb */ color: rgb(92, 38, 147);
/* oklch */ color: oklch(40.7% 0.168 301.9);
Tailwind
colors: {
  custom: {
    50: '#8f66b3',
    500: '#5c2693',
    950: '#000000',
  },
}
SCSS
$custom: #5c2693;
$custom-light: #8f66b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2693",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 269.725,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.16837,
    "h": 301.9
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#5C2693
secondary
#8BBA5A
accent
#E24695
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2693

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

Preview Lab → · Contrast checker → · Palette generator →

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