#5E2AB0#5E2AB0

#5E2AB0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.196 H 294.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5E2AB0
RGBrgb(94, 42, 176)
HSLhsl(263, 61%, 43%)
HSVhsv(263, 76%, 69%)
CMYKcmyk(46.6%, 76.1%, 0%, 31%)
CIE-LABlab(32.19, 51.72, -62.21)
CIE-LCHlch(32.19, 80.91, 309.74°)
OKLaboklab(43.88% 0.0813 -0.1784)
OKLCHoklch(43.88% 0.196 294.5)
XYZxyz(13.2784, 7.1698, 41.7502)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2AB0 #7CB02A
analogous
#2A39B0 #5E2AB0 #A12AB0
triadic
#5E2AB0 #B05E2A #2AB05E
tetradic
#5E2AB0 #B02A39 #7CB02A #2AB0A1
square
#5E2AB0 #B02A39 #7CB02A #2AB0A1
split-complementary
#5E2AB0 #B0A12A #39B02A
monochromatic
#29124D #441E7F #5E2AB0 #7C45D3 #9F76DE

Accessibility & contrast

On white

8.63
#5E2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5E2AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2AB0
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2AB0#FFFFFF#000000##FFFFFF
##5E2AB01.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#464E6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e2ab0;
/* rgb */ color: rgb(94, 42, 176);
/* oklch */ color: oklch(43.9% 0.196 294.5);
Tailwind
colors: {
  custom: {
    50: '#9469c9',
    500: '#5e2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #5e2ab0;
$custom-light: #9469c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2ab0",
  "rgb": {
    "r": 94,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 263.284,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43877,
    "c": 0.196,
    "h": 294.5
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#5E2AB0
secondary
#A5C670
accent
#E543A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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