#5C259D#5C259D

#5C259D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.180 H 299.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5C259D
RGBrgb(92, 37, 157)
HSLhsl(268, 62%, 38%)
HSVhsv(268, 76%, 62%)
CMYKcmyk(41.4%, 76.4%, 0%, 38.4%)
CIE-LABlab(29.49, 48.74, -55.18)
CIE-LCHlch(29.49, 73.62, 311.45°)
OKLaboklab(41.42% 0.0875 -0.1577)
OKLCHoklch(41.42% 0.18 299)
XYZxyz(11.1595, 6.0326, 32.4682)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C259D #669D25
analogous
#252A9D #5C259D #98259D
triadic
#5C259D #9D5C25 #259D5C
tetradic
#5C259D #9D252A #669D25 #259D98
square
#5C259D #9D252A #669D25 #259D98
split-complementary
#5C259D #9D9825 #2A9D25
monochromatic
#220E3A #3F196B #5C259D #7931CE #9962DA

Accessibility & contrast

On white

9.52
#5C259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5C259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C259D
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C259D#FFFFFF#000000##FFFFFF
##5C259D1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#4C4460
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c259d;
/* rgb */ color: rgb(92, 37, 157);
/* oklch */ color: oklch(41.4% 0.180 299.0);
Tailwind
colors: {
  custom: {
    50: '#9066bb',
    500: '#5c259d',
    950: '#000000',
  },
}
SCSS
$custom: #5c259d;
$custom-light: #9066bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c259d",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 267.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41418,
    "c": 0.1804,
    "h": 299
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#5C259D
secondary
#93BF5E
accent
#E5439B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C259D

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

Preview Lab → · Contrast checker → · Palette generator →

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