#5E2BAD#5E2BAD

#5E2BAD is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.192 H 295.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#5E2BAD
RGBrgb(94, 43, 173)
HSLhsl(264, 60%, 42%)
HSVhsv(264, 75%, 68%)
CMYKcmyk(45.7%, 75.1%, 0%, 32.2%)
CIE-LABlab(32.09, 50.48, -60.59)
CIE-LCHlch(32.09, 78.86, 309.80°)
OKLaboklab(43.72% 0.0812 -0.1736)
OKLCHoklch(43.72% 0.192 295.1)
XYZxyz(13.0208, 7.1242, 40.2161)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2BAD #7AAD2B
analogous
#2B39AD #5E2BAD #9F2BAD
triadic
#5E2BAD #AD5E2B #2BAD5E
tetradic
#5E2BAD #AD2B39 #7AAD2B #2BAD9F
square
#5E2BAD #AD2B39 #7AAD2B #2BAD9F
split-complementary
#5E2BAD #AD9F2B #39AD2B
monochromatic
#29134B #431F7C #5E2BAD #7C45D1 #9E76DD

Accessibility & contrast

On white

8.66
#5E2BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5E2BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2BAD
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2BAD#FFFFFF#000000##FFFFFF
##5E2BAD1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#484E6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e2bad;
/* rgb */ color: rgb(94, 43, 173);
/* oklch */ color: oklch(43.7% 0.192 295.1);
Tailwind
colors: {
  custom: {
    50: '#936ac6',
    500: '#5e2bad',
    950: '#000000',
  },
}
SCSS
$custom: #5e2bad;
$custom-light: #936ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2bad",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 263.538,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43724,
    "c": 0.19164,
    "h": 295.1
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#5E2BAD
secondary
#A3C46F
accent
#E344A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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