#5E2768#5E2768

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

Color values

HEX#5E2768
RGBrgb(94, 39, 104)
HSLhsl(291, 45%, 28%)
HSVhsv(291, 63%, 41%)
CMYKcmyk(9.6%, 62.5%, 0%, 59.2%)
CIE-LABlab(26.25, 35.55, -27.17)
CIE-LCHlch(26.25, 44.75, 322.62°)
OKLaboklab(37.93% 0.0941 -0.0756)
OKLCHoklch(37.93% 0.121 321.2)
XYZxyz(7.8400, 4.8306, 13.6134)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2768 #316827
analogous
#3D2768 #5E2768 #682751
triadic
#5E2768 #685E27 #27685E
tetradic
#5E2768 #683D27 #316827 #275168
square
#5E2768 #683D27 #316827 #275168
split-complementary
#5E2768 #516827 #27683D
monochromatic
#140816 #36163B #5E2768 #863895 #AB4DBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E2768#FFFFFF#000000##FFFFFF
##5E27681.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)
#1A3A6A
Deuteranopia (green-blind)
#2E4066
Tritanopia (blue-blind)
#5F3143
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e2768;
/* rgb */ color: rgb(94, 39, 104);
/* oklch */ color: oklch(37.9% 0.121 321.2);
Tailwind
colors: {
  custom: {
    50: '#8e6593',
    500: '#5e2768',
    950: '#000000',
  },
}
SCSS
$custom: #5e2768;
$custom-light: #8e6593;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2768",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 104
  },
  "hsl": {
    "h": 290.769,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.12069,
    "h": 321.2
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#5E2768
secondary
#5C9B50
accent
#D55367
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5E2768

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

Preview Lab → · Contrast checker → · Palette generator →

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