#5E1963#5E1963

#5E1963 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.136 H 325.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#5E1963
RGBrgb(94, 25, 99)
HSLhsl(296, 60%, 24%)
HSVhsv(296, 75%, 39%)
CMYKcmyk(5.1%, 74.7%, 0%, 61.2%)
CIE-LABlab(23.59, 41.05, -28.13)
CIE-LCHlch(23.59, 49.77, 325.58°)
OKLaboklab(35.91% 0.1118 -0.0782)
OKLCHoklch(35.91% 0.136 325)
XYZxyz(7.2157, 3.9763, 12.1894)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1963 #1E6319
analogous
#391963 #5E1963 #631943
triadic
#5E1963 #635E19 #19635E
tetradic
#5E1963 #633919 #1E6319 #194363
square
#5E1963 #633919 #1E6319 #194363
split-complementary
#5E1963 #436319 #196339
monochromatic
#170618 #300D32 #5E1963 #8C2594 #BB32C5

Accessibility & contrast

On white

11.70
#5E1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5E1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1963
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1963#FFFFFF#000000##FFFFFF
##5E19631.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063365
Deuteranopia (green-blind)
#283B61
Tritanopia (blue-blind)
#60253C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1963;
/* rgb */ color: rgb(94, 25, 99);
/* oklch */ color: oklch(35.9% 0.136 325.0);
Tailwind
colors: {
  custom: {
    50: '#8e5d90',
    500: '#5e1963',
    950: '#000000',
  },
}
SCSS
$custom: #5e1963;
$custom-light: #8e5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1963",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 295.946,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35914,
    "c": 0.13648,
    "h": 325
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#5E1963
secondary
#45993F
accent
#E34550
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #5E1963

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

Preview Lab → · Contrast checker → · Palette generator →

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