#5E3085#5E3085

#5E3085 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.139 H 306.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#5E3085
RGBrgb(94, 48, 133)
HSLhsl(272, 47%, 35%)
HSVhsv(272, 64%, 52%)
CMYKcmyk(29.3%, 63.9%, 0%, 47.8%)
CIE-LABlab(29.88, 37.54, -39.76)
CIE-LCHlch(29.88, 54.69, 313.35°)
OKLaboklab(41.17% 0.082 -0.1124)
OKLCHoklch(41.17% 0.139 306.1)
XYZxyz(9.9058, 6.1871, 22.8581)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3085 #578530
analogous
#343085 #5E3085 #853081
triadic
#5E3085 #855E30 #30855E
tetradic
#5E3085 #853430 #578530 #308185
square
#5E3085 #853430 #578530 #308185
split-complementary
#5E3085 #818530 #308534
monochromatic
#1E102B #3E2058 #5E3085 #7E40B2 #9C67C8

Accessibility & contrast

On white

9.39
#5E3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5E3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3085
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3085#FFFFFF#000000##FFFFFF
##5E30851.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#1E4783
Tritanopia (blue-blind)
#574156
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e3085;
/* rgb */ color: rgb(94, 48, 133);
/* oklch */ color: oklch(41.2% 0.139 306.1);
Tailwind
colors: {
  custom: {
    50: '#8f6ba9',
    500: '#5e3085',
    950: '#000000',
  },
}
SCSS
$custom: #5e3085;
$custom-light: #8f6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3085",
  "rgb": {
    "r": 94,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 272.471,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.13918,
    "h": 306.1
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#5E3085
secondary
#85AF61
accent
#D7518E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5E3085

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

Preview Lab → · Contrast checker → · Palette generator →

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