#5C2595#5C2595

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

Color values

HEX#5C2595
RGBrgb(92, 37, 149)
HSLhsl(269, 60%, 36%)
HSVhsv(269, 75%, 58%)
CMYKcmyk(38.3%, 75.2%, 0%, 41.6%)
CIE-LABlab(28.82, 46.71, -51.39)
CIE-LCHlch(28.82, 69.44, 312.27°)
OKLaboklab(40.73% 0.0894 -0.1466)
OKLCHoklch(40.73% 0.172 301.4)
XYZxyz(10.4987, 5.7683, 28.9882)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2595 #5E9525
analogous
#252695 #5C2595 #942595
triadic
#5C2595 #955C25 #25955C
tetradic
#5C2595 #952526 #5E9525 #259594
square
#5C2595 #952526 #5E9525 #259594
split-complementary
#5C2595 #959425 #269525
monochromatic
#1F0D33 #3E1964 #5C2595 #7A31C6 #995ED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C2595#FFFFFF#000000##FFFFFF
##5C25951.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)
#004398
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#50415B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c2595;
/* rgb */ color: rgb(92, 37, 149);
/* oklch */ color: oklch(40.7% 0.172 301.4);
Tailwind
colors: {
  custom: {
    50: '#9065b5',
    500: '#5c2595',
    950: '#000000',
  },
}
SCSS
$custom: #5c2595;
$custom-light: #9065b5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2595",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 269.464,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40734,
    "c": 0.17172,
    "h": 301.4
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#5C2595
secondary
#8CBC5A
accent
#E34495
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2595

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

Preview Lab → · Contrast checker → · Palette generator →

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