#5E2599#5E2599

#5E2599 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.176 H 301.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#5E2599
RGBrgb(94, 37, 153)
HSLhsl(269, 61%, 37%)
HSVhsv(269, 76%, 60%)
CMYKcmyk(38.6%, 75.8%, 0%, 40%)
CIE-LABlab(29.42, 48.08, -52.85)
CIE-LCHlch(29.42, 71.45, 312.30°)
OKLaboklab(41.32% 0.0915 -0.1508)
OKLCHoklch(41.32% 0.176 301.2)
XYZxyz(11.0260, 6.0027, 30.7085)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2599 #609925
analogous
#252699 #5E2599 #982599
triadic
#5E2599 #995E25 #25995E
tetradic
#5E2599 #992526 #609925 #259998
square
#5E2599 #992526 #609925 #259998
split-complementary
#5E2599 #999825 #269925
monochromatic
#210D36 #401968 #5E2599 #7C31CA #9B60D9

Accessibility & contrast

On white

9.54
#5E2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5E2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2599
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2599#FFFFFF#000000##FFFFFF
##5E25991.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e2599;
/* rgb */ color: rgb(94, 37, 153);
/* oklch */ color: oklch(41.3% 0.176 301.2);
Tailwind
colors: {
  custom: {
    50: '#9166b8',
    500: '#5e2599',
    950: '#000000',
  },
}
SCSS
$custom: #5e2599;
$custom-light: #9166b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2599",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 269.483,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.1764,
    "h": 301.2
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#5E2599
secondary
#8EBE5C
accent
#E44495
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2599

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

Preview Lab → · Contrast checker → · Palette generator →

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