#5C265E#5C265E

#5C265E is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.9% C 0.111 H 326.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#5C265E
RGBrgb(92, 38, 94)
HSLhsl(298, 42%, 26%)
HSVhsv(298, 60%, 37%)
CMYKcmyk(2.1%, 59.6%, 0%, 63.1%)
CIE-LABlab(25.17, 33.39, -22.38)
CIE-LCHlch(25.17, 40.20, 326.17°)
OKLaboklab(36.89% 0.092 -0.0617)
OKLCHoklch(36.89% 0.111 326.1)
XYZxyz(7.1270, 4.4701, 11.0749)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C265E #285E26
analogous
#40265E #5C265E #5E2644
triadic
#5C265E #5E5C26 #265E5C
tetradic
#5C265E #5E4026 #285E26 #26445E
square
#5C265E #5E4026 #285E26 #26445E
split-complementary
#5C265E #445E26 #265E40
monochromatic
#150916 #311432 #5C265E #87388A #B149B5

Accessibility & contrast

On white

11.09
#5C265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5C265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C265E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C265E#FFFFFF#000000##FFFFFF
##5C265E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3760
Deuteranopia (green-blind)
#313E5C
Tritanopia (blue-blind)
#5E2D3E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5c265e;
/* rgb */ color: rgb(92, 38, 94);
/* oklch */ color: oklch(36.9% 0.111 326.1);
Tailwind
colors: {
  custom: {
    50: '#8c648c',
    500: '#5c265e',
    950: '#000000',
  },
}
SCSS
$custom: #5c265e;
$custom-light: #8c648c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c265e",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 297.857,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36893,
    "c": 0.11081,
    "h": 326.1
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#5C265E
secondary
#51914F
accent
#D2565A
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C050C
muted
#7D7A7D

Preview Lab

Preview with #5C265E

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

Preview Lab → · Contrast checker → · Palette generator →

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