#5C259C#5C259C

#5C259C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.179 H 299.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#5C259C
RGBrgb(92, 37, 156)
HSLhsl(268, 62%, 38%)
HSVhsv(268, 76%, 61%)
CMYKcmyk(41%, 76.3%, 0%, 38.8%)
CIE-LABlab(29.41, 48.48, -54.71)
CIE-LCHlch(29.41, 73.10, 311.55°)
OKLaboklab(41.33% 0.0878 -0.1564)
OKLCHoklch(41.33% 0.179 299.3)
XYZxyz(11.0744, 5.9986, 32.0204)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C259C #659C25
analogous
#252A9C #5C259C #97259C
triadic
#5C259C #9C5C25 #259C5C
tetradic
#5C259C #9C252A #659C25 #259C97
square
#5C259C #9C252A #659C25 #259C97
split-complementary
#5C259C #9C9725 #2A9C25
monochromatic
#220E39 #3F196B #5C259C #7931CD #9962DA

Accessibility & contrast

On white

9.55
#5C259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5C259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C259C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C259C#FFFFFF#000000##FFFFFF
##5C259C1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#4D445F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c259c;
/* rgb */ color: rgb(92, 37, 156);
/* oklch */ color: oklch(41.3% 0.179 299.3);
Tailwind
colors: {
  custom: {
    50: '#9065ba',
    500: '#5c259c',
    950: '#000000',
  },
}
SCSS
$custom: #5c259c;
$custom-light: #9065ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5c259c",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 267.731,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41332,
    "c": 0.17932,
    "h": 299.3
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#5C259C
secondary
#92BF5E
accent
#E5439A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C259C

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

Preview Lab → · Contrast checker → · Palette generator →

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