#5C256A#5C256A

#5C256A is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.5% C 0.125 H 319.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#5C256A
RGBrgb(92, 37, 106)
HSLhsl(288, 48%, 28%)
HSVhsv(288, 65%, 42%)
CMYKcmyk(13.2%, 65.1%, 0%, 58.4%)
CIE-LABlab(25.68, 36.46, -29.38)
CIE-LCHlch(25.68, 46.83, 321.14°)
OKLaboklab(37.49% 0.0943 -0.082)
OKLCHoklch(37.49% 0.125 319)
XYZxyz(7.6764, 4.6394, 14.1240)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C256A #336A25
analogous
#39256A #5C256A #6A2555
triadic
#5C256A #6A5C25 #256A5C
tetradic
#5C256A #6A3925 #336A25 #25556A
square
#5C256A #6A3925 #336A25 #25556A
split-complementary
#5C256A #556A25 #256A39
monochromatic
#140817 #35153D #5C256A #833597 #A84AC0

Accessibility & contrast

On white

10.89
#5C256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5C256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C256A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C256A#FFFFFF#000000##FFFFFF
##5C256A1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396C
Deuteranopia (green-blind)
#293F68
Tritanopia (blue-blind)
#5C3044
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5c256a;
/* rgb */ color: rgb(92, 37, 106);
/* oklch */ color: oklch(37.5% 0.125 319.0);
Tailwind
colors: {
  custom: {
    50: '#8c6395',
    500: '#5c256a',
    950: '#000000',
  },
}
SCSS
$custom: #5c256a;
$custom-light: #8c6395;
$custom-dark: #000000;
JSON
{
  "hex": "#5c256a",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 287.826,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37495,
    "c": 0.12499,
    "h": 319
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#5C256A
secondary
#5E9D4E
accent
#D8506C
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #5C256A

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

Preview Lab → · Contrast checker → · Palette generator →

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