#5E2BB8#5E2BB8

#5E2BB8 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.204 H 292.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5E2BB8
RGBrgb(94, 43, 184)
HSLhsl(262, 62%, 45%)
HSVhsv(262, 77%, 72%)
CMYKcmyk(48.9%, 76.6%, 0%, 27.8%)
CIE-LABlab(33.07, 53.38, -65.53)
CIE-LCHlch(33.07, 84.52, 309.16°)
OKLaboklab(44.71% 0.0783 -0.1881)
OKLCHoklch(44.71% 0.204 292.6)
XYZxyz(14.1293, 7.5676, 46.0543)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2BB8 #85B82B
analogous
#2B3FB8 #5E2BB8 #A52BB8
triadic
#5E2BB8 #B85E2B #2BB85E
tetradic
#5E2BB8 #B82B3F #85B82B #2BB8A5
square
#5E2BB8 #B82B3F #85B82B #2BB8A5
split-complementary
#5E2BB8 #B8A52B #3FB82B
monochromatic
#2B1455 #451F86 #5E2BB8 #7D4BD5 #A17DE1

Accessibility & contrast

On white

8.35
#5E2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5E2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2BB8
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2BB8#FFFFFF#000000##FFFFFF
##5E2BB81.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#415270
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5e2bb8;
/* rgb */ color: rgb(94, 43, 184);
/* oklch */ color: oklch(44.7% 0.204 292.6);
Tailwind
colors: {
  custom: {
    50: '#956ace',
    500: '#5e2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #5e2bb8;
$custom-light: #956ace;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2bb8",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 261.702,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.20374,
    "h": 292.6
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#5E2BB8
secondary
#ABC976
accent
#E543AA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5E2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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