#5C259E#5C259E

#5C259E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.181 H 298.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#5C259E
RGBrgb(92, 37, 158)
HSLhsl(267, 62%, 38%)
HSVhsv(267, 77%, 62%)
CMYKcmyk(41.8%, 76.6%, 0%, 38%)
CIE-LABlab(29.58, 48.99, -55.65)
CIE-LCHlch(29.58, 74.14, 311.36°)
OKLaboklab(41.51% 0.0873 -0.1591)
OKLCHoklch(41.51% 0.181 298.7)
XYZxyz(11.2452, 6.0669, 32.9197)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C259E #679E25
analogous
#252A9E #5C259E #98259E
triadic
#5C259E #9E5C25 #259E5C
tetradic
#5C259E #9E252A #679E25 #259E98
square
#5C259E #9E252A #679E25 #259E98
split-complementary
#5C259E #9E9825 #2A9E25
monochromatic
#220E3B #3F196C #5C259E #7931CF #9963DA

Accessibility & contrast

On white

9.49
#5C259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C259E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C259E#FFFFFF#000000##FFFFFF
##5C259E1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#4C4560
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c259e;
/* rgb */ color: rgb(92, 37, 158);
/* oklch */ color: oklch(41.5% 0.181 298.7);
Tailwind
colors: {
  custom: {
    50: '#9166bc',
    500: '#5c259e',
    950: '#000000',
  },
}
SCSS
$custom: #5c259e;
$custom-light: #9166bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c259e",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 267.273,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.18148,
    "h": 298.7
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#5C259E
secondary
#94C05F
accent
#E5439B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C259E

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

Preview Lab → · Contrast checker → · Palette generator →

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