#5E2690#5E2690

#5E2690 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.166 H 303.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#5E2690
RGBrgb(94, 38, 144)
HSLhsl(272, 58%, 36%)
HSVhsv(272, 74%, 56%)
CMYKcmyk(34.7%, 73.6%, 0%, 43.5%)
CIE-LABlab(28.85, 45.39, -48.25)
CIE-LCHlch(28.85, 66.24, 313.25°)
OKLaboklab(40.69% 0.0924 -0.1373)
OKLCHoklch(40.69% 0.166 303.9)
XYZxyz(10.3421, 5.7796, 26.9509)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2690 #589026
analogous
#292690 #5E2690 #90268D
triadic
#5E2690 #905E26 #26905E
tetradic
#5E2690 #902926 #589026 #268D90
square
#5E2690 #902926 #589026 #268D90
split-complementary
#5E2690 #8D9026 #269029
monochromatic
#1F0C2F #3E1960 #5E2690 #7E33C0 #9C5CD4

Accessibility & contrast

On white

9.74
#5E2690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5E2690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2690
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2690#FFFFFF#000000##FFFFFF
##5E26901.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#543F58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5e2690;
/* rgb */ color: rgb(94, 38, 144);
/* oklch */ color: oklch(40.7% 0.166 303.9);
Tailwind
colors: {
  custom: {
    50: '#9066b1',
    500: '#5e2690',
    950: '#000000',
  },
}
SCSS
$custom: #5e2690;
$custom-light: #9066b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2690",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 271.698,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.1655,
    "h": 303.9
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#5E2690
secondary
#86B959
accent
#E14690
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2690

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

Preview Lab → · Contrast checker → · Palette generator →

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