#5E3099#5E3099

#5E3099 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.163 H 299.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#5E3099
RGBrgb(94, 48, 153)
HSLhsl(266, 52%, 39%)
HSVhsv(266, 69%, 60%)
CMYKcmyk(38.6%, 68.6%, 0%, 40%)
CIE-LABlab(31.33, 42.72, -49.74)
CIE-LCHlch(31.33, 65.57, 310.66°)
OKLaboklab(42.68% 0.0802 -0.1417)
OKLCHoklch(42.68% 0.163 299.5)
XYZxyz(11.4214, 6.7934, 30.8403)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3099 #6B9930
analogous
#303699 #5E3099 #933099
triadic
#5E3099 #995E30 #30995E
tetradic
#5E3099 #993036 #6B9930 #309993
square
#5E3099 #993036 #6B9930 #309993
split-complementary
#5E3099 #999330 #369930
monochromatic
#25133C #41216A #5E3099 #7B42C4 #9C71D2

Accessibility & contrast

On white

8.90
#5E3099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5E3099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3099
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3099#FFFFFF#000000##FFFFFF
##5E30991.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#514960
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e3099;
/* rgb */ color: rgb(94, 48, 153);
/* oklch */ color: oklch(42.7% 0.163 299.5);
Tailwind
colors: {
  custom: {
    50: '#916cb8',
    500: '#5e3099',
    950: '#000000',
  },
}
SCSS
$custom: #5e3099;
$custom-light: #916cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3099",
  "rgb": {
    "r": 94,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 266.286,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.16286,
    "h": 299.5
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#5E3099
secondary
#97BA6B
accent
#DC4C9D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E3099

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

Preview Lab → · Contrast checker → · Palette generator →

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