#5E1B80#5E1B80

#5E1B80 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.162 H 311.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#5E1B80
RGBrgb(94, 27, 128)
HSLhsl(280, 65%, 30%)
HSVhsv(280, 79%, 50%)
CMYKcmyk(26.6%, 78.9%, 0%, 49.8%)
CIE-LABlab(25.93, 46.35, -43.01)
CIE-LCHlch(25.93, 63.23, 317.15°)
OKLaboklab(38.23% 0.1064 -0.1218)
OKLCHoklch(38.23% 0.162 311.1)
XYZxyz(8.9036, 4.7223, 20.8604)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B80 #3D801B
analogous
#2B1B80 #5E1B80 #801B6F
triadic
#5E1B80 #805E1B #1B805E
tetradic
#5E1B80 #802B1B #3D801B #1B6F80
square
#5E1B80 #802B1B #3D801B #1B6F80
split-complementary
#5E1B80 #6F801B #1B802B
monochromatic
#14061B #39104D #5E1B80 #8326B3 #A33FD6

Accessibility & contrast

On white

10.80
#5E1B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5E1B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B80
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B80#FFFFFF#000000##FFFFFF
##5E1B801.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#043F7E
Tritanopia (blue-blind)
#5A334D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1b80;
/* rgb */ color: rgb(94, 27, 128);
/* oklch */ color: oklch(38.2% 0.162 311.1);
Tailwind
colors: {
  custom: {
    50: '#905fa6',
    500: '#5e1b80',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b80;
$custom-light: #905fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b80",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 279.802,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38228,
    "c": 0.16178,
    "h": 311.1
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#5E1B80
secondary
#69B443
accent
#E84078
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1B80

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

Preview Lab → · Contrast checker → · Palette generator →

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