#5E1763#5E1763

#5E1763 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.139 H 325.1°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#5E1763
RGBrgb(94, 23, 99)
HSLhsl(296, 62%, 24%)
HSVhsv(296, 77%, 39%)
CMYKcmyk(5.1%, 76.8%, 0%, 61.2%)
CIE-LABlab(23.32, 41.84, -28.57)
CIE-LCHlch(23.32, 50.66, 325.68°)
OKLaboklab(35.72% 0.114 -0.0795)
OKLCHoklch(35.72% 0.139 325.1)
XYZxyz(7.1745, 3.8938, 12.1757)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1763 #1C6317
analogous
#381763 #5E1763 #631742
triadic
#5E1763 #635E17 #17635E
tetradic
#5E1763 #633817 #1C6317 #174263
square
#5E1763 #633817 #1C6317 #174263
split-complementary
#5E1763 #426317 #176338
monochromatic
#180619 #2F0B31 #5E1763 #8D2395 #BC2EC6

Accessibility & contrast

On white

11.81
#5E1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1763
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1763#FFFFFF#000000##FFFFFF
##5E17631.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023265
Deuteranopia (green-blind)
#273B61
Tritanopia (blue-blind)
#60243B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1763;
/* rgb */ color: rgb(94, 23, 99);
/* oklch */ color: oklch(35.7% 0.139 325.1);
Tailwind
colors: {
  custom: {
    50: '#8f5c90',
    500: '#5e1763',
    950: '#000000',
  },
}
SCSS
$custom: #5e1763;
$custom-light: #8f5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1763",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 296.053,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35717,
    "c": 0.13899,
    "h": 325.1
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#5E1763
secondary
#429A3C
accent
#E5424D
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1763

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

Preview Lab → · Contrast checker → · Palette generator →

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