#5C255D#5C255D

#5C255D is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.7% C 0.112 H 326.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#5C255D
RGBrgb(92, 37, 93)
HSLhsl(299, 43%, 25%)
HSVhsv(299, 60%, 36%)
CMYKcmyk(1.1%, 60.2%, 0%, 63.5%)
CIE-LABlab(24.92, 33.72, -22.12)
CIE-LCHlch(24.92, 40.32, 326.74°)
OKLaboklab(36.69% 0.0934 -0.061)
OKLCHoklch(36.69% 0.112 326.9)
XYZxyz(7.0509, 4.3892, 10.8296)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C255D #265D25
analogous
#40255D #5C255D #5D2542
triadic
#5C255D #5D5C25 #255D5C
tetradic
#5C255D #5D4025 #265D25 #25425D
square
#5C255D #5D4025 #265D25 #25425D
split-complementary
#5C255D #425D25 #255D40
monochromatic
#160916 #311431 #5C255D #873689 #B348B5

Accessibility & contrast

On white

11.18
#5C255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5C255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C255D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C255D#FFFFFF#000000##FFFFFF
##5C255D1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F375F
Deuteranopia (green-blind)
#313E5B
Tritanopia (blue-blind)
#5F2C3D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c255d;
/* rgb */ color: rgb(92, 37, 93);
/* oklch */ color: oklch(36.7% 0.112 326.9);
Tailwind
colors: {
  custom: {
    50: '#8c638b',
    500: '#5c255d',
    950: '#000000',
  },
}
SCSS
$custom: #5c255d;
$custom-light: #8c638b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c255d",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 298.929,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36692,
    "c": 0.11151,
    "h": 326.9
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#5C255D
secondary
#4F904D
accent
#D35557
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C050C
muted
#7D7A7D

Preview Lab

Preview with #5C255D

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

Preview Lab → · Contrast checker → · Palette generator →

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