#5E266E#5E266E

#5E266E is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.2% C 0.129 H 318.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#5E266E
RGBrgb(94, 38, 110)
HSLhsl(287, 49%, 29%)
HSVhsv(287, 65%, 43%)
CMYKcmyk(14.5%, 65.5%, 0%, 56.9%)
CIE-LABlab(26.42, 37.38, -30.75)
CIE-LCHlch(26.42, 48.40, 320.55°)
OKLaboklab(38.18% 0.0957 -0.086)
OKLCHoklch(38.18% 0.129 318.1)
XYZxyz(8.1233, 4.8920, 15.2652)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E266E #366E26
analogous
#3A266E #5E266E #6E265A
triadic
#5E266E #6E5E26 #266E5E
tetradic
#5E266E #6E3A26 #366E26 #265A6E
square
#5E266E #6E3A26 #366E26 #265A6E
split-complementary
#5E266E #5A6E26 #266E3A
monochromatic
#130817 #371641 #5E266E #85369B #A84DC1

Accessibility & contrast

On white

10.61
#5E266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5E266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E266E
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E266E#FFFFFF#000000##FFFFFF
##5E266E1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#29406C
Tritanopia (blue-blind)
#5E3246
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e266e;
/* rgb */ color: rgb(94, 38, 110);
/* oklch */ color: oklch(38.2% 0.129 318.1);
Tailwind
colors: {
  custom: {
    50: '#8e6498',
    500: '#5e266e',
    950: '#000000',
  },
}
SCSS
$custom: #5e266e;
$custom-light: #8e6498;
$custom-dark: #000000;
JSON
{
  "hex": "#5e266e",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 286.667,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.12865,
    "h": 318.1
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#5E266E
secondary
#61A14F
accent
#D8506E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5E266E

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

Preview Lab → · Contrast checker → · Palette generator →

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