#5E2575#5E2575

#5E2575 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.5% C 0.138 H 314.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#5E2575
RGBrgb(94, 37, 117)
HSLhsl(283, 52%, 30%)
HSVhsv(283, 68%, 46%)
CMYKcmyk(19.7%, 68.4%, 0%, 54.1%)
CIE-LABlab(26.70, 39.44, -34.79)
CIE-LCHlch(26.70, 52.59, 318.58°)
OKLaboklab(38.52% 0.0969 -0.0978)
OKLCHoklch(38.52% 0.138 314.7)
XYZxyz(8.4880, 4.9875, 17.3417)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2575 #3C7525
analogous
#362575 #5E2575 #752564
triadic
#5E2575 #755E25 #25755E
tetradic
#5E2575 #753625 #3C7525 #256475
square
#5E2575 #753625 #3C7525 #256475
split-complementary
#5E2575 #647525 #257536
monochromatic
#130818 #391647 #5E2575 #8334A3 #A44EC7

Accessibility & contrast

On white

10.51
#5E2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5E2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2575
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2575#FFFFFF#000000##FFFFFF
##5E25751.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#234173
Tritanopia (blue-blind)
#5C3449
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e2575;
/* rgb */ color: rgb(94, 37, 117);
/* oklch */ color: oklch(38.5% 0.138 314.7);
Tailwind
colors: {
  custom: {
    50: '#8e649d',
    500: '#5e2575',
    950: '#000000',
  },
}
SCSS
$custom: #5e2575;
$custom-light: #8e649d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2575",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 282.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38523,
    "c": 0.13763,
    "h": 314.7
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#5E2575
secondary
#68A84E
accent
#DB4C76
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #5E2575

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

Preview Lab → · Contrast checker → · Palette generator →

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