#5C249D#5C249D

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

Color values

HEX#5C249D
RGBrgb(92, 36, 157)
HSLhsl(268, 63%, 38%)
HSVhsv(268, 77%, 62%)
CMYKcmyk(41.4%, 77.1%, 0%, 38.4%)
CIE-LABlab(29.34, 49.18, -55.43)
CIE-LCHlch(29.34, 74.10, 311.58°)
OKLaboklab(41.31% 0.0884 -0.1585)
OKLCHoklch(41.31% 0.181 299.2)
XYZxyz(11.1288, 5.9712, 32.4580)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C249D #659D24
analogous
#24289D #5C249D #98249D
triadic
#5C249D #9D5C24 #249D5C
tetradic
#5C249D #9D2428 #659D24 #249D98
square
#5C249D #9D2428 #659D24 #249D98
split-complementary
#5C249D #9D9824 #289D24
monochromatic
#220D39 #3F196B #5C249D #792FCF #9961DB

Accessibility & contrast

On white

9.57
#5C249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C249D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C249D#FFFFFF#000000##FFFFFF
##5C249D1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c249d;
/* rgb */ color: rgb(92, 36, 157);
/* oklch */ color: oklch(41.3% 0.181 299.2);
Tailwind
colors: {
  custom: {
    50: '#9165bb',
    500: '#5c249d',
    950: '#000000',
  },
}
SCSS
$custom: #5c249d;
$custom-light: #9165bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c249d",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 267.769,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.18147,
    "h": 299.2
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#5C249D
secondary
#92C05D
accent
#E6429A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C249D

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

Preview Lab → · Contrast checker → · Palette generator →

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