#5C259B#5C259B

#5C259B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.178 H 299.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#5C259B
RGBrgb(92, 37, 155)
HSLhsl(268, 61%, 38%)
HSVhsv(268, 76%, 61%)
CMYKcmyk(40.6%, 76.1%, 0%, 39.2%)
CIE-LABlab(29.32, 48.23, -54.24)
CIE-LCHlch(29.32, 72.58, 311.64°)
OKLaboklab(41.25% 0.088 -0.155)
OKLCHoklch(41.25% 0.178 299.6)
XYZxyz(10.9901, 5.9649, 31.5763)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C259B #649B25
analogous
#25299B #5C259B #97259B
triadic
#5C259B #9B5C25 #259B5C
tetradic
#5C259B #9B2529 #649B25 #259B97
square
#5C259B #9B2529 #649B25 #259B97
split-complementary
#5C259B #9B9725 #299B25
monochromatic
#210D38 #3F196A #5C259B #7931CC #9961D9

Accessibility & contrast

On white

9.58
#5C259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C259B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C259B#FFFFFF#000000##FFFFFF
##5C259B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#4D445E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c259b;
/* rgb */ color: rgb(92, 37, 155);
/* oklch */ color: oklch(41.2% 0.178 299.6);
Tailwind
colors: {
  custom: {
    50: '#9065b9',
    500: '#5c259b',
    950: '#000000',
  },
}
SCSS
$custom: #5c259b;
$custom-light: #9065b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c259b",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 267.966,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.17823,
    "h": 299.6
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#5C259B
secondary
#91BF5D
accent
#E54399
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C259B

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

Preview Lab → · Contrast checker → · Palette generator →

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