#5E267A#5E267A

#5E267A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.0% C 0.142 H 312.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#5E267A
RGBrgb(94, 38, 122)
HSLhsl(280, 53%, 31%)
HSVhsv(280, 69%, 48%)
CMYKcmyk(23%, 68.9%, 0%, 52.2%)
CIE-LABlab(27.22, 40.10, -37.14)
CIE-LCHlch(27.22, 54.65, 317.20°)
OKLaboklab(39.01% 0.0953 -0.1047)
OKLCHoklch(39.01% 0.142 312.3)
XYZxyz(8.8214, 5.1713, 18.9420)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E267A #427A26
analogous
#34267A #5E267A #7A266C
triadic
#5E267A #7A5E26 #267A5E
tetradic
#5E267A #7A3426 #427A26 #266C7A
square
#5E267A #7A3426 #427A26 #266C7A
split-complementary
#5E267A #6C7A26 #267A34
monochromatic
#16091D #3A174B #5E267A #8235A9 #A151C9

Accessibility & contrast

On white

10.32
#5E267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5E267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E267A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E267A#FFFFFF#000000##FFFFFF
##5E267A1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#1F4178
Tritanopia (blue-blind)
#5B374C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e267a;
/* rgb */ color: rgb(94, 38, 122);
/* oklch */ color: oklch(39.0% 0.142 312.3);
Tailwind
colors: {
  custom: {
    50: '#8f65a1',
    500: '#5e267a',
    950: '#000000',
  },
}
SCSS
$custom: #5e267a;
$custom-light: #8f65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e267a",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 280,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39005,
    "c": 0.14157,
    "h": 312.3
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#5E267A
secondary
#6EAC50
accent
#DC4C7C
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #5E267A

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

Preview Lab → · Contrast checker → · Palette generator →

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