#5C259A#5C259A

#5C259A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.177 H 299.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#5C259A
RGBrgb(92, 37, 154)
HSLhsl(268, 61%, 37%)
HSVhsv(268, 76%, 60%)
CMYKcmyk(40.3%, 76%, 0%, 39.6%)
CIE-LABlab(29.24, 47.98, -53.77)
CIE-LCHlch(29.24, 72.06, 311.74°)
OKLaboklab(41.16% 0.0883 -0.1536)
OKLCHoklch(41.16% 0.177 299.9)
XYZxyz(10.9065, 5.9314, 31.1359)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C259A #639A25
analogous
#25289A #5C259A #97259A
triadic
#5C259A #9A5C25 #259A5C
tetradic
#5C259A #9A2528 #639A25 #259A97
square
#5C259A #9A2528 #639A25 #259A97
split-complementary
#5C259A #9A9725 #289A25
monochromatic
#210D37 #3F1969 #5C259A #7931CB #9960D9

Accessibility & contrast

On white

9.60
#5C259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5C259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C259A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C259A#FFFFFF#000000##FFFFFF
##5C259A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#4D435E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c259a;
/* rgb */ color: rgb(92, 37, 154);
/* oklch */ color: oklch(41.2% 0.177 299.9);
Tailwind
colors: {
  custom: {
    50: '#9065b9',
    500: '#5c259a',
    950: '#000000',
  },
}
SCSS
$custom: #5c259a;
$custom-light: #9065b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c259a",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 268.205,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41159,
    "c": 0.17716,
    "h": 299.9
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#5C259A
secondary
#90BE5D
accent
#E44399
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C259A

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

Preview Lab → · Contrast checker → · Palette generator →

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