#5E1882#5E1882

#5E1882 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.167 H 310.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#5E1882
RGBrgb(94, 24, 130)
HSLhsl(280, 69%, 30%)
HSVhsv(280, 82%, 51%)
CMYKcmyk(27.7%, 81.5%, 0%, 49%)
CIE-LABlab(25.70, 47.92, -44.64)
CIE-LCHlch(25.70, 65.49, 317.03°)
OKLaboklab(38.12% 0.1087 -0.1266)
OKLCHoklch(38.12% 0.167 310.6)
XYZxyz(8.9712, 4.6449, 21.5387)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1882 #3C8218
analogous
#291882 #5E1882 #821871
triadic
#5E1882 #825E18 #18825E
tetradic
#5E1882 #822918 #3C8218 #187182
square
#5E1882 #822918 #3C8218 #187182
split-complementary
#5E1882 #718218 #188229
monochromatic
#13051B #390E4E #5E1882 #8322B6 #A43ADB

Accessibility & contrast

On white

10.89
#5E1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5E1882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1882
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1882#FFFFFF#000000##FFFFFF
##5E18821.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#59334D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1882;
/* rgb */ color: rgb(94, 24, 130);
/* oklch */ color: oklch(38.1% 0.167 310.6);
Tailwind
colors: {
  custom: {
    50: '#905ea7',
    500: '#5e1882',
    950: '#000000',
  },
}
SCSS
$custom: #5e1882;
$custom-light: #905ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1882",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 279.623,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38115,
    "c": 0.16685,
    "h": 310.6
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#5E1882
secondary
#68B640
accent
#EC3C78
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1882

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

Preview Lab → · Contrast checker → · Palette generator →

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