#5E2BA9#5E2BA9

#5E2BA9 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.187 H 296.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#5E2BA9
RGBrgb(94, 43, 169)
HSLhsl(264, 59%, 42%)
HSVhsv(264, 75%, 66%)
CMYKcmyk(44.4%, 74.6%, 0%, 33.7%)
CIE-LABlab(31.74, 49.43, -58.75)
CIE-LCHlch(31.74, 76.78, 310.07°)
OKLaboklab(43.37% 0.0822 -0.1682)
OKLCHoklch(43.37% 0.187 296)
XYZxyz(12.6395, 6.9717, 38.2082)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2BA9 #76A92B
analogous
#2B37A9 #5E2BA9 #9D2BA9
triadic
#5E2BA9 #A95E2B #2BA95E
tetradic
#5E2BA9 #A92B37 #76A92B #2BA99D
square
#5E2BA9 #A92B37 #76A92B #2BA99D
split-complementary
#5E2BA9 #A99D2B #37A92B
monochromatic
#281247 #431F78 #5E2BA9 #7B42CF #9D73DB

Accessibility & contrast

On white

8.77
#5E2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5E2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2BA9
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2BA9#FFFFFF#000000##FFFFFF
##5E2BA91.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e2ba9;
/* rgb */ color: rgb(94, 43, 169);
/* oklch */ color: oklch(43.4% 0.187 296.0);
Tailwind
colors: {
  custom: {
    50: '#9369c4',
    500: '#5e2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #5e2ba9;
$custom-light: #9369c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2ba9",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 264.286,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43374,
    "c": 0.1872,
    "h": 296
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#5E2BA9
secondary
#A0C36D
accent
#E345A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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