#5E1365#5E1365

#5E1365 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.145 H 324.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#5E1365
RGBrgb(94, 19, 101)
HSLhsl(295, 68%, 24%)
HSVhsv(295, 81%, 40%)
CMYKcmyk(6.9%, 81.2%, 0%, 60.4%)
CIE-LABlab(22.95, 43.65, -30.46)
CIE-LCHlch(22.95, 53.23, 325.09°)
OKLaboklab(35.5% 0.1179 -0.085)
OKLCHoklch(35.5% 0.145 324.2)
XYZxyz(7.1977, 3.7855, 12.6610)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1365 #1A6513
analogous
#351365 #5E1365 #651343
triadic
#5E1365 #655E13 #13655E
tetradic
#5E1365 #653513 #1A6513 #134365
square
#5E1365 #653513 #1A6513 #134365
split-complementary
#5E1365 #436513 #136535
monochromatic
#18051A #2E0931 #5E1365 #8E1D99 #BE26CC

Accessibility & contrast

On white

11.95
#5E1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5E1365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1365
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1365#FFFFFF#000000##FFFFFF
##5E13651.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#233A63
Tritanopia (blue-blind)
#60233C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1365;
/* rgb */ color: rgb(94, 19, 101);
/* oklch */ color: oklch(35.5% 0.145 324.2);
Tailwind
colors: {
  custom: {
    50: '#8f5b91',
    500: '#5e1365',
    950: '#000000',
  },
}
SCSS
$custom: #5e1365;
$custom-light: #8f5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1365",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 294.878,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35497,
    "c": 0.14531,
    "h": 324.2
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#5E1365
secondary
#409D37
accent
#EB3D4C
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040D
muted
#7E797D

Preview Lab

Preview with #5E1365

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

Preview Lab → · Contrast checker → · Palette generator →

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