#5E2086#5E2086

#5E2086 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.162 H 308.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#5E2086
RGBrgb(94, 32, 134)
HSLhsl(276, 61%, 33%)
HSVhsv(276, 76%, 53%)
CMYKcmyk(29.9%, 76.1%, 0%, 47.5%)
CIE-LABlab(27.11, 45.68, -44.85)
CIE-LCHlch(27.11, 64.02, 315.52°)
OKLaboklab(39.21% 0.1004 -0.1273)
OKLCHoklch(39.21% 0.162 308.3)
XYZxyz(9.4348, 5.1341, 23.0436)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2086 #488620
analogous
#2B2086 #5E2086 #86207B
triadic
#5E2086 #865E20 #20865E
tetradic
#5E2086 #862B20 #488620 #207B86
square
#5E2086 #862B20 #488620 #207B86
split-complementary
#5E2086 #7B8620 #20862B
monochromatic
#190823 #3B1455 #5E2086 #812CB7 #9F4CD4

Accessibility & contrast

On white

10.36
#5E2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5E2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2086
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2086#FFFFFF#000000##FFFFFF
##5E20861.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#583851
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e2086;
/* rgb */ color: rgb(94, 32, 134);
/* oklch */ color: oklch(39.2% 0.162 308.3);
Tailwind
colors: {
  custom: {
    50: '#9062aa',
    500: '#5e2086',
    950: '#000000',
  },
}
SCSS
$custom: #5e2086;
$custom-light: #9062aa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2086",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 276.471,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.16213,
    "h": 308.3
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#5E2086
secondary
#75B74B
accent
#E54383
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E2086

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

Preview Lab → · Contrast checker → · Palette generator →

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