#5C279A#5C279A

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

Color values

HEX#5C279A
RGBrgb(92, 39, 154)
HSLhsl(268, 60%, 38%)
HSVhsv(268, 75%, 60%)
CMYKcmyk(40.3%, 74.7%, 0%, 39.6%)
CIE-LABlab(29.56, 47.06, -53.24)
CIE-LCHlch(29.56, 71.06, 311.47°)
OKLaboklab(41.39% 0.0864 -0.1521)
OKLCHoklch(41.39% 0.175 299.6)
XYZxyz(10.9704, 6.0593, 31.1572)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C279A #659A27
analogous
#272C9A #5C279A #95279A
triadic
#5C279A #9A5C27 #279A5C
tetradic
#5C279A #9A272C #659A27 #279A95
square
#5C279A #9A272C #659A27 #279A95
split-complementary
#5C279A #9A9527 #2C9A27
monochromatic
#220E38 #3F1B69 #5C279A #7933CB #9964D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C279A#FFFFFF#000000##FFFFFF
##5C279A1.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)
#00459D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#4D445E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c279a;
/* rgb */ color: rgb(92, 39, 154);
/* oklch */ color: oklch(41.4% 0.175 299.6);
Tailwind
colors: {
  custom: {
    50: '#9066b9',
    500: '#5c279a',
    950: '#000000',
  },
}
SCSS
$custom: #5c279a;
$custom-light: #9066b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c279a",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 267.652,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41387,
    "c": 0.17489,
    "h": 299.6
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#5C279A
secondary
#92BD5F
accent
#E3459A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C279A

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

Preview Lab → · Contrast checker → · Palette generator →

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