#5E256E#5E256E

#5E256E is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.0% C 0.130 H 318.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#5E256E
RGBrgb(94, 37, 110)
HSLhsl(287, 50%, 29%)
HSVhsv(287, 66%, 43%)
CMYKcmyk(14.5%, 66.4%, 0%, 56.9%)
CIE-LABlab(26.24, 37.88, -31.04)
CIE-LCHlch(26.24, 48.98, 320.66°)
OKLaboklab(38.05% 0.097 -0.0868)
OKLCHoklch(38.05% 0.13 318.2)
XYZxyz(8.0917, 4.8289, 15.2547)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E256E #356E25
analogous
#3A256E #5E256E #6E255A
triadic
#5E256E #6E5E25 #256E5E
tetradic
#5E256E #6E3A25 #356E25 #255A6E
square
#5E256E #6E3A25 #356E25 #255A6E
split-complementary
#5E256E #5A6E25 #256E3A
monochromatic
#140817 #371640 #5E256E #85349C #A84BC2

Accessibility & contrast

On white

10.68
#5E256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5E256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E256E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E256E#FFFFFF#000000##FFFFFF
##5E256E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3A70
Deuteranopia (green-blind)
#28406C
Tritanopia (blue-blind)
#5E3246
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e256e;
/* rgb */ color: rgb(94, 37, 110);
/* oklch */ color: oklch(38.0% 0.130 318.2);
Tailwind
colors: {
  custom: {
    50: '#8e6498',
    500: '#5e256e',
    950: '#000000',
  },
}
SCSS
$custom: #5e256e;
$custom-light: #8e6498;
$custom-dark: #000000;
JSON
{
  "hex": "#5e256e",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 286.849,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.1302,
    "h": 318.2
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#5E256E
secondary
#60A14E
accent
#D94F6D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D060D
muted
#7D7A7E

Preview Lab

Preview with #5E256E

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

Preview Lab → · Contrast checker → · Palette generator →

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