#5E256D#5E256D

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

Color values

HEX#5E256D
RGBrgb(94, 37, 109)
HSLhsl(288, 49%, 29%)
HSVhsv(288, 66%, 43%)
CMYKcmyk(13.8%, 66.1%, 0%, 57.3%)
CIE-LABlab(26.18, 37.66, -30.50)
CIE-LCHlch(26.18, 48.46, 321.00°)
OKLaboklab(37.98% 0.097 -0.0853)
OKLCHoklch(37.98% 0.129 318.7)
XYZxyz(8.0376, 4.8073, 14.9696)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E256D #346D25
analogous
#3A256D #5E256D #6D2558
triadic
#5E256D #6D5E25 #256D5E
tetradic
#5E256D #6D3A25 #346D25 #25586D
square
#5E256D #6D3A25 #346D25 #25586D
split-complementary
#5E256D #586D25 #256D3A
monochromatic
#140817 #37153F #5E256D #85359B #A94BC2

Accessibility & contrast

On white

10.71
#5E256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5E256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E256D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E256D#FFFFFF#000000##FFFFFF
##5E256D1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103A6F
Deuteranopia (green-blind)
#29406B
Tritanopia (blue-blind)
#5E3145
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e256d;
/* rgb */ color: rgb(94, 37, 109);
/* oklch */ color: oklch(38.0% 0.129 318.7);
Tailwind
colors: {
  custom: {
    50: '#8e6497',
    500: '#5e256d',
    950: '#000000',
  },
}
SCSS
$custom: #5e256d;
$custom-light: #8e6497;
$custom-dark: #000000;
JSON
{
  "hex": "#5e256d",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 287.5,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3798,
    "c": 0.12915,
    "h": 318.7
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#5E256D
secondary
#5FA04E
accent
#D94F6C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D060D
muted
#7D7A7E

Preview Lab

Preview with #5E256D

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

Preview Lab → · Contrast checker → · Palette generator →

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