#5C2385#5C2385

#5C2385 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.157 H 307.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#5C2385
RGBrgb(92, 35, 133)
HSLhsl(275, 58%, 33%)
HSVhsv(275, 74%, 52%)
CMYKcmyk(30.8%, 73.7%, 0%, 47.8%)
CIE-LABlab(27.22, 43.69, -44.07)
CIE-LCHlch(27.22, 62.06, 314.75°)
OKLaboklab(39.2% 0.0946 -0.1251)
OKLCHoklch(39.2% 0.157 307.1)
XYZxyz(9.2474, 5.1709, 22.6967)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2385 #4C8523
analogous
#2B2385 #5C2385 #85237D
triadic
#5C2385 #855C23 #23855C
tetradic
#5C2385 #852B23 #4C8523 #237D85
square
#5C2385 #852B23 #4C8523 #237D85
split-complementary
#5C2385 #7D8523 #23852B
monochromatic
#190924 #3A1655 #5C2385 #7E30B5 #9C51D1

Accessibility & contrast

On white

10.32
#5C2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5C2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2385
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2385#FFFFFF#000000##FFFFFF
##5C23851.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#014183
Tritanopia (blue-blind)
#553A52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5c2385;
/* rgb */ color: rgb(92, 35, 133);
/* oklch */ color: oklch(39.2% 0.157 307.1);
Tailwind
colors: {
  custom: {
    50: '#8e63a9',
    500: '#5c2385',
    950: '#000000',
  },
}
SCSS
$custom: #5c2385;
$custom-light: #8e63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2385",
  "rgb": {
    "r": 92,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 274.898,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39198,
    "c": 0.15685,
    "h": 307.1
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#5C2385
secondary
#7AB54F
accent
#E24687
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5C2385

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

Preview Lab → · Contrast checker → · Palette generator →

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