#5E1363#5E1363

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

Color values

HEX#5E1363
RGBrgb(94, 19, 99)
HSLhsl(296, 68%, 23%)
HSVhsv(296, 81%, 39%)
CMYKcmyk(5.1%, 80.8%, 0%, 61.2%)
CIE-LABlab(22.82, 43.27, -29.37)
CIE-LCHlch(22.82, 52.30, 325.84°)
OKLaboklab(35.36% 0.118 -0.0818)
OKLCHoklch(35.36% 0.144 325.3)
XYZxyz(7.1009, 3.7468, 12.1511)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1363 #186313
analogous
#361363 #5E1363 #631340
triadic
#5E1363 #635E13 #13635E
tetradic
#5E1363 #633613 #186313 #134063
square
#5E1363 #633613 #186313 #134063
split-complementary
#5E1363 #406313 #136336
monochromatic
#18051A #2D0930 #5E1363 #8F1D96 #C027CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E1363#FFFFFF#000000##FFFFFF
##5E13631.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)
#003165
Deuteranopia (green-blind)
#253A61
Tritanopia (blue-blind)
#60223A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1363;
/* rgb */ color: rgb(94, 19, 99);
/* oklch */ color: oklch(35.4% 0.144 325.3);
Tailwind
colors: {
  custom: {
    50: '#8f5b90',
    500: '#5e1363',
    950: '#000000',
  },
}
SCSS
$custom: #5e1363;
$custom-light: #8f5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1363",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 296.25,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35359,
    "c": 0.14357,
    "h": 325.3
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

primary
#5E1363
secondary
#3D9B37
accent
#EB3D48
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1363

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

Preview Lab → · Contrast checker → · Palette generator →

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