#5C1269#5C1269

#5C1269 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.149 H 321.0°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#5C1269
RGBrgb(92, 18, 105)
HSLhsl(291, 71%, 24%)
HSVhsv(291, 83%, 41%)
CMYKcmyk(12.4%, 82.9%, 0%, 58.8%)
CIE-LABlab(22.75, 44.33, -33.41)
CIE-LCHlch(22.75, 55.51, 322.99°)
OKLaboklab(35.38% 0.1158 -0.0937)
OKLCHoklch(35.38% 0.149 321)
XYZxyz(7.1794, 3.7282, 13.7033)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1269 #1F6912
analogous
#301269 #5C1269 #69124B
triadic
#5C1269 #695C12 #12695C
tetradic
#5C1269 #693012 #1F6912 #124B69
square
#5C1269 #693012 #1F6912 #124B69
split-complementary
#5C1269 #4B6912 #126930
monochromatic
#17041A #2E0935 #5C1269 #8A1B9D #B824D1

Accessibility & contrast

On white

12.03
#5C1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5C1269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1269
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1269#FFFFFF#000000##FFFFFF
##5C12691.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316B
Deuteranopia (green-blind)
#1D3967
Tritanopia (blue-blind)
#5D253E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1269;
/* rgb */ color: rgb(92, 18, 105);
/* oklch */ color: oklch(35.4% 0.149 321.0);
Tailwind
colors: {
  custom: {
    50: '#8d5a94',
    500: '#5c1269',
    950: '#000000',
  },
}
SCSS
$custom: #5c1269;
$custom-light: #8d5a94;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1269",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 291.034,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35376,
    "c": 0.14896,
    "h": 321
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#5C1269
secondary
#46A136
accent
#ED3A55
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1269

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

Preview Lab → · Contrast checker → · Palette generator →

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