#5E2EA9#5E2EA9

#5E2EA9 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.184 H 295.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#5E2EA9
RGBrgb(94, 46, 169)
HSLhsl(263, 57%, 42%)
HSVhsv(263, 73%, 66%)
CMYKcmyk(44.4%, 72.8%, 0%, 33.7%)
CIE-LABlab(32.25, 47.98, -57.92)
CIE-LCHlch(32.25, 75.21, 309.64°)
OKLaboklab(43.74% 0.0794 -0.1658)
OKLCHoklch(43.74% 0.184 295.6)
XYZxyz(12.7526, 7.1979, 38.2459)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2EA9 #79A92E
analogous
#2E3BA9 #5E2EA9 #9C2EA9
triadic
#5E2EA9 #A95E2E #2EA95E
tetradic
#5E2EA9 #A92E3B #79A92E #2EA99C
square
#5E2EA9 #A92E3B #79A92E #2EA99C
split-complementary
#5E2EA9 #A99C2E #3BA92E
monochromatic
#281449 #432179 #5E2EA9 #7B47CD #9E77DA

Accessibility & contrast

On white

8.61
#5E2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5E2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2EA9
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2EA9#FFFFFF#000000##FFFFFF
##5E2EA91.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#494E69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e2ea9;
/* rgb */ color: rgb(94, 46, 169);
/* oklch */ color: oklch(43.7% 0.184 295.6);
Tailwind
colors: {
  custom: {
    50: '#936bc4',
    500: '#5e2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #5e2ea9;
$custom-light: #936bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2ea9",
  "rgb": {
    "r": 94,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 263.415,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43735,
    "c": 0.18381,
    "h": 295.6
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#5E2EA9
secondary
#A2C271
accent
#E047A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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