#5E2AA9#5E2AA9

#5E2AA9 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.188 H 296.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5E2AA9
RGBrgb(94, 42, 169)
HSLhsl(265, 60%, 41%)
HSVhsv(265, 75%, 66%)
CMYKcmyk(44.4%, 75.1%, 0%, 33.7%)
CIE-LABlab(31.58, 49.89, -59.02)
CIE-LCHlch(31.58, 77.28, 310.21°)
OKLaboklab(43.26% 0.0831 -0.169)
OKLCHoklch(43.26% 0.188 296.2)
XYZxyz(12.6036, 6.8999, 38.1962)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2AA9 #75A92A
analogous
#2A36A9 #5E2AA9 #9E2AA9
triadic
#5E2AA9 #A95E2A #2AA95E
tetradic
#5E2AA9 #A92A36 #75A92A #2AA99E
square
#5E2AA9 #A92A36 #75A92A #2AA99E
split-complementary
#5E2AA9 #A99E2A #36A92A
monochromatic
#271247 #431E78 #5E2AA9 #7B41D0 #9D72DC

Accessibility & contrast

On white

8.82
#5E2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5E2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2AA9
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2AA9#FFFFFF#000000##FFFFFF
##5E2AA91.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#4A4C68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e2aa9;
/* rgb */ color: rgb(94, 42, 169);
/* oklch */ color: oklch(43.3% 0.188 296.2);
Tailwind
colors: {
  custom: {
    50: '#9369c4',
    500: '#5e2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #5e2aa9;
$custom-light: #9369c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2aa9",
  "rgb": {
    "r": 94,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 264.567,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43258,
    "c": 0.18831,
    "h": 296.2
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#5E2AA9
secondary
#9FC36C
accent
#E344A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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