#5E2BB0#5E2BB0

#5E2BB0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.195 H 294.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#5E2BB0
RGBrgb(94, 43, 176)
HSLhsl(263, 61%, 43%)
HSVhsv(263, 76%, 69%)
CMYKcmyk(46.6%, 75.6%, 0%, 31%)
CIE-LABlab(32.35, 51.27, -61.95)
CIE-LCHlch(32.35, 80.41, 309.61°)
OKLaboklab(43.99% 0.0804 -0.1776)
OKLCHoklch(43.99% 0.195 294.4)
XYZxyz(13.3143, 7.2416, 41.7621)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2BB0 #7DB02B
analogous
#2B3AB0 #5E2BB0 #A12BB0
triadic
#5E2BB0 #B05E2B #2BB05E
tetradic
#5E2BB0 #B02B3A #7DB02B #2BB0A1
square
#5E2BB0 #B02B3A #7DB02B #2BB0A1
split-complementary
#5E2BB0 #B0A12B #3AB02B
monochromatic
#29134E #441F7F #5E2BB0 #7C46D2 #9F78DE

Accessibility & contrast

On white

8.58
#5E2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5E2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2BB0
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2BB0#FFFFFF#000000##FFFFFF
##5E2BB01.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#464F6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e2bb0;
/* rgb */ color: rgb(94, 43, 176);
/* oklch */ color: oklch(44.0% 0.195 294.4);
Tailwind
colors: {
  custom: {
    50: '#946ac9',
    500: '#5e2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #5e2bb0;
$custom-light: #946ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2bb0",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 263.008,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4399,
    "c": 0.19495,
    "h": 294.4
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#5E2BB0
secondary
#A5C671
accent
#E444A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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