#5E2BB4#5E2BB4

#5E2BB4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.199 H 293.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5E2BB4
RGBrgb(94, 43, 180)
HSLhsl(262, 61%, 44%)
HSVhsv(262, 76%, 71%)
CMYKcmyk(47.8%, 76.1%, 0%, 29.4%)
CIE-LABlab(32.71, 52.32, -63.75)
CIE-LCHlch(32.71, 82.47, 309.38°)
OKLaboklab(44.35% 0.0794 -0.1829)
OKLCHoklch(44.35% 0.199 293.5)
XYZxyz(13.7159, 7.4023, 43.8773)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2BB4 #81B42B
analogous
#2B3CB4 #5E2BB4 #A22BB4
triadic
#5E2BB4 #B45E2B #2BB45E
tetradic
#5E2BB4 #B42B3C #81B42B #2BB4A2
square
#5E2BB4 #B42B3C #81B42B #2BB4A2
split-complementary
#5E2BB4 #B4A22B #3CB42B
monochromatic
#2A1351 #441F83 #5E2BB4 #7C49D3 #A07ADF

Accessibility & contrast

On white

8.47
#5E2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5E2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2BB4
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2BB4#FFFFFF#000000##FFFFFF
##5E2BB41.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#44506E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e2bb4;
/* rgb */ color: rgb(94, 43, 180);
/* oklch */ color: oklch(44.3% 0.199 293.5);
Tailwind
colors: {
  custom: {
    50: '#946acc',
    500: '#5e2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #5e2bb4;
$custom-light: #946acc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2bb4",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 262.336,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.19936,
    "h": 293.5
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#5E2BB4
secondary
#A8C773
accent
#E543A9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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