#5E2699#5E2699

#5E2699 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.175 H 301.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#5E2699
RGBrgb(94, 38, 153)
HSLhsl(269, 60%, 37%)
HSVhsv(269, 75%, 60%)
CMYKcmyk(38.6%, 75.2%, 0%, 40%)
CIE-LABlab(29.58, 47.63, -52.59)
CIE-LCHlch(29.58, 70.95, 312.17°)
OKLaboklab(41.43% 0.0905 -0.1501)
OKLCHoklch(41.43% 0.175 301.1)
XYZxyz(11.0576, 6.0657, 30.7191)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2699 #619926
analogous
#262899 #5E2699 #972699
triadic
#5E2699 #995E26 #26995E
tetradic
#5E2699 #992628 #619926 #269997
square
#5E2699 #992628 #619926 #269997
split-complementary
#5E2699 #999726 #289926
monochromatic
#220E37 #401A68 #5E2699 #7C32CA #9B62D8

Accessibility & contrast

On white

9.49
#5E2699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5E2699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2699
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2699#FFFFFF#000000##FFFFFF
##5E26991.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#51435E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e2699;
/* rgb */ color: rgb(94, 38, 153);
/* oklch */ color: oklch(41.4% 0.175 301.1);
Tailwind
colors: {
  custom: {
    50: '#9166b8',
    500: '#5e2699',
    950: '#000000',
  },
}
SCSS
$custom: #5e2699;
$custom-light: #9166b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2699",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 269.217,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4143,
    "c": 0.17527,
    "h": 301.1
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#5E2699
secondary
#8FBD5E
accent
#E34496
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2699

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

Preview Lab → · Contrast checker → · Palette generator →

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