#5E1461#5E1461

#5E1461 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.141 H 326.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#5E1461
RGBrgb(94, 20, 97)
HSLhsl(298, 66%, 23%)
HSVhsv(298, 79%, 38%)
CMYKcmyk(3.1%, 79.4%, 0%, 62%)
CIE-LABlab(22.80, 42.56, -28.07)
CIE-LCHlch(22.80, 50.98, 326.59°)
OKLaboklab(35.31% 0.1171 -0.078)
OKLCHoklch(35.31% 0.141 326.3)
XYZxyz(7.0238, 3.7435, 11.6596)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1461 #176114
analogous
#371461 #5E1461 #61143D
triadic
#5E1461 #615E14 #14615E
tetradic
#5E1461 #613714 #176114 #143D61
square
#5E1461 #613714 #176114 #143D61
split-complementary
#5E1461 #3D6114 #146137
monochromatic
#190519 #2D0A2E #5E1461 #8F1E94 #C029C6

Accessibility & contrast

On white

12.01
#5E1461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E1461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1461
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1461#FFFFFF#000000##FFFFFF
##5E14611.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003163
Deuteranopia (green-blind)
#273A5F
Tritanopia (blue-blind)
#61213A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1461;
/* rgb */ color: rgb(94, 20, 97);
/* oklch */ color: oklch(35.3% 0.141 326.3);
Tailwind
colors: {
  custom: {
    50: '#8f5b8e',
    500: '#5e1461',
    950: '#000000',
  },
}
SCSS
$custom: #5e1461;
$custom-light: #8f5b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1461",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 297.662,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3531,
    "c": 0.14074,
    "h": 326.3
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#5E1461
secondary
#3C9838
accent
#E93F46
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1461

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

Preview Lab → · Contrast checker → · Palette generator →

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