#5C267F#5C267F

#5C267F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.146 H 309.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#5C267F
RGBrgb(92, 38, 127)
HSLhsl(276, 54%, 32%)
HSVhsv(276, 70%, 50%)
CMYKcmyk(27.6%, 70.1%, 0%, 50.2%)
CIE-LABlab(27.28, 40.81, -40.21)
CIE-LCHlch(27.28, 57.29, 315.43°)
OKLaboklab(39.1% 0.0921 -0.1137)
OKLCHoklch(39.1% 0.146 309)
XYZxyz(8.9367, 5.1940, 20.6063)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C267F #497F26
analogous
#2F267F #5C267F #7F2676
triadic
#5C267F #7F5C26 #267F5C
tetradic
#5C267F #7F2F26 #497F26 #26767F
square
#5C267F #7F2F26 #497F26 #26767F
split-complementary
#5C267F #767F26 #267F2F
monochromatic
#180A21 #3A1850 #5C267F #7E34AE #9D54CC

Accessibility & contrast

On white

10.30
#5C267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5C267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C267F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C267F#FFFFFF#000000##FFFFFF
##5C267F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#15417D
Tritanopia (blue-blind)
#57394F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5c267f;
/* rgb */ color: rgb(92, 38, 127);
/* oklch */ color: oklch(39.1% 0.146 309.0);
Tailwind
colors: {
  custom: {
    50: '#8e65a5',
    500: '#5c267f',
    950: '#000000',
  },
}
SCSS
$custom: #5c267f;
$custom-light: #8e65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c267f",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 276.404,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39102,
    "c": 0.14634,
    "h": 309
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#5C267F
secondary
#76B051
accent
#DD4A84
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D060F
muted
#7D7A7F

Preview Lab

Preview with #5C267F

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

Preview Lab → · Contrast checker → · Palette generator →

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