#5C279F#5C279F

#5C279F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.180 H 298.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#5C279F
RGBrgb(92, 39, 159)
HSLhsl(267, 61%, 39%)
HSVhsv(267, 75%, 62%)
CMYKcmyk(42.1%, 75.5%, 0%, 37.6%)
CIE-LABlab(29.98, 48.34, -55.60)
CIE-LCHlch(29.98, 73.67, 311.01°)
OKLaboklab(41.82% 0.0852 -0.159)
OKLCHoklch(41.82% 0.18 298.2)
XYZxyz(11.3955, 6.2294, 33.3962)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C279F #6A9F27
analogous
#272E9F #5C279F #98279F
triadic
#5C279F #9F5C27 #279F5C
tetradic
#5C279F #9F272E #6A9F27 #279F98
square
#5C279F #9F272E #6A9F27 #279F98
split-complementary
#5C279F #9F9827 #2E9F27
monochromatic
#230F3D #401B6E #5C279F #7936CE #9967DA

Accessibility & contrast

On white

9.35
#5C279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5C279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C279F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C279F#FFFFFF#000000##FFFFFF
##5C279F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4B4661
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5c279f;
/* rgb */ color: rgb(92, 39, 159);
/* oklch */ color: oklch(41.8% 0.180 298.2);
Tailwind
colors: {
  custom: {
    50: '#9167bc',
    500: '#5c279f',
    950: '#000000',
  },
}
SCSS
$custom: #5c279f;
$custom-light: #9167bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c279f",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 266.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41815,
    "c": 0.18039,
    "h": 298.2
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#5C279F
secondary
#96C062
accent
#E4449D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C279F

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

Preview Lab → · Contrast checker → · Palette generator →

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