#5C1265#5C1265

#5C1265 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.145 H 323.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#5C1265
RGBrgb(92, 18, 101)
HSLhsl(293, 70%, 23%)
HSVhsv(293, 82%, 40%)
CMYKcmyk(8.9%, 82.2%, 0%, 60.4%)
CIE-LABlab(22.47, 43.55, -31.25)
CIE-LCHlch(22.47, 53.60, 324.34°)
OKLaboklab(35.09% 0.1163 -0.0873)
OKLCHoklch(35.09% 0.145 323.1)
XYZxyz(6.9787, 3.6479, 12.6459)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1265 #1B6512
analogous
#321265 #5C1265 #651244
triadic
#5C1265 #655C12 #12655C
tetradic
#5C1265 #653212 #1B6512 #124465
square
#5C1265 #653212 #1B6512 #124465
split-complementary
#5C1265 #446512 #126532
monochromatic
#18051A #2D0931 #5C1265 #8B1B99 #BB25CD

Accessibility & contrast

On white

12.14
#5C1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5C1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1265
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1265#FFFFFF#000000##FFFFFF
##5C12651.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#213863
Tritanopia (blue-blind)
#5D233B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1265;
/* rgb */ color: rgb(92, 18, 101);
/* oklch */ color: oklch(35.1% 0.145 323.1);
Tailwind
colors: {
  custom: {
    50: '#8d5a91',
    500: '#5c1265',
    950: '#000000',
  },
}
SCSS
$custom: #5c1265;
$custom-light: #8d5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1265",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 293.494,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35088,
    "c": 0.14543,
    "h": 323.1
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#5C1265
secondary
#419D36
accent
#ED3B4E
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1265

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

Preview Lab → · Contrast checker → · Palette generator →

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