#5E1B92#5E1B92

#5E1B92 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.180 H 304.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#5E1B92
RGBrgb(94, 27, 146)
HSLhsl(274, 69%, 34%)
HSVhsv(274, 82%, 57%)
CMYKcmyk(35.6%, 81.5%, 0%, 42.7%)
CIE-LABlab(27.40, 50.48, -51.83)
CIE-LCHlch(27.40, 72.35, 314.24°)
OKLaboklab(39.72% 0.102 -0.1478)
OKLCHoklch(39.72% 0.18 304.6)
XYZxyz(10.1951, 5.2389, 27.6627)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B92 #4F921B
analogous
#231B92 #5E1B92 #921B8B
triadic
#5E1B92 #925E1B #1B925E
tetradic
#5E1B92 #92231B #4F921B #1B8B92
square
#5E1B92 #92231B #4F921B #1B8B92
split-complementary
#5E1B92 #8B921B #1B9223
monochromatic
#1B082B #3D115E #5E1B92 #7F25C6 #9D4ADE

Accessibility & contrast

On white

10.25
#5E1B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5E1B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B92
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B92#FFFFFF#000000##FFFFFF
##5E1B921.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#543B57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e1b92;
/* rgb */ color: rgb(94, 27, 146);
/* oklch */ color: oklch(39.7% 0.180 304.6);
Tailwind
colors: {
  custom: {
    50: '#9160b3',
    500: '#5e1b92',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b92;
$custom-light: #9160b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b92",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 273.782,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.17956,
    "h": 304.6
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#5E1B92
secondary
#7DBF49
accent
#EC3C89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5E1B92

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

Preview Lab → · Contrast checker → · Palette generator →

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