#5C247B#5C247B

#5C247B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.145 H 310.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#5C247B
RGBrgb(92, 36, 123)
HSLhsl(279, 55%, 31%)
HSVhsv(279, 71%, 48%)
CMYKcmyk(25.2%, 70.7%, 0%, 51.8%)
CIE-LABlab(26.64, 40.84, -38.71)
CIE-LCHlch(26.64, 56.27, 316.53°)
OKLaboklab(38.55% 0.0949 -0.1093)
OKLCHoklch(38.55% 0.145 310.9)
XYZxyz(8.6190, 4.9673, 19.2398)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C247B #437B24
analogous
#30247B #5C247B #7B246E
triadic
#5C247B #7B5C24 #247B5C
tetradic
#5C247B #7B3024 #437B24 #246E7B
square
#5C247B #7B3024 #437B24 #246E7B
split-complementary
#5C247B #6E7B24 #247B30
monochromatic
#15081C #39164C #5C247B #7F32AA #9F4ECB

Accessibility & contrast

On white

10.53
#5C247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5C247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C247B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C247B#FFFFFF#000000##FFFFFF
##5C247B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#184079
Tritanopia (blue-blind)
#58364C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5c247b;
/* rgb */ color: rgb(92, 36, 123);
/* oklch */ color: oklch(38.6% 0.145 310.9);
Tailwind
colors: {
  custom: {
    50: '#8d63a2',
    500: '#5c247b',
    950: '#000000',
  },
}
SCSS
$custom: #5c247b;
$custom-light: #8d63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c247b",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 278.621,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.14475,
    "h": 310.9
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#5C247B
secondary
#70AD4D
accent
#DE4A7F
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0D060F
muted
#7D7A7F

Preview Lab

Preview with #5C247B

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

Preview Lab → · Contrast checker → · Palette generator →

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