#5E2AB3#5E2AB3

#5E2AB3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.199 H 293.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5E2AB3
RGBrgb(94, 42, 179)
HSLhsl(263, 62%, 43%)
HSVhsv(263, 77%, 70%)
CMYKcmyk(47.5%, 76.5%, 0%, 29.8%)
CIE-LABlab(32.46, 52.51, -63.56)
CIE-LCHlch(32.46, 82.45, 309.56°)
OKLaboklab(44.15% 0.0804 -0.1823)
OKLCHoklch(44.15% 0.199 293.8)
XYZxyz(13.5785, 7.2899, 43.3307)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2AB3 #7FB32A
analogous
#2A3AB3 #5E2AB3 #A22AB3
triadic
#5E2AB3 #B35E2A #2AB35E
tetradic
#5E2AB3 #B32A3A #7FB32A #2AB3A2
square
#5E2AB3 #B32A3A #7FB32A #2AB3A2
split-complementary
#5E2AB3 #B3A22A #3AB32A
monochromatic
#2A1350 #441E81 #5E2AB3 #7C46D4 #9F78DF

Accessibility & contrast

On white

8.54
#5E2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5E2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2AB3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2AB3#FFFFFF#000000##FFFFFF
##5E2AB31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#44506D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e2ab3;
/* rgb */ color: rgb(94, 42, 179);
/* oklch */ color: oklch(44.1% 0.199 293.8);
Tailwind
colors: {
  custom: {
    50: '#9469cb',
    500: '#5e2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #5e2ab3;
$custom-light: #9469cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2ab3",
  "rgb": {
    "r": 94,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 262.774,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44147,
    "c": 0.19928,
    "h": 293.8
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#5E2AB3
secondary
#A7C772
accent
#E543A7
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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