#5E2BB6#5E2BB6

#5E2BB6 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.202 H 293.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5E2BB6
RGBrgb(94, 43, 182)
HSLhsl(262, 62%, 44%)
HSVhsv(262, 76%, 71%)
CMYKcmyk(48.4%, 76.4%, 0%, 28.6%)
CIE-LABlab(32.89, 52.85, -64.64)
CIE-LCHlch(32.89, 83.50, 309.27°)
OKLaboklab(44.53% 0.0788 -0.1855)
OKLCHoklch(44.53% 0.202 293)
XYZxyz(13.9211, 7.4844, 44.9580)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2BB6 #83B62B
analogous
#2B3EB6 #5E2BB6 #A42BB6
triadic
#5E2BB6 #B65E2B #2BB65E
tetradic
#5E2BB6 #B62B3E #83B62B #2BB6A4
square
#5E2BB6 #B62B3E #83B62B #2BB6A4
split-complementary
#5E2BB6 #B6A42B #3EB62B
monochromatic
#2B1453 #441F84 #5E2BB6 #7D4AD4 #A07BE0

Accessibility & contrast

On white

8.41
#5E2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5E2BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2BB6
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2BB6#FFFFFF#000000##FFFFFF
##5E2BB61.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#42516F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e2bb6;
/* rgb */ color: rgb(94, 43, 182);
/* oklch */ color: oklch(44.5% 0.202 293.0);
Tailwind
colors: {
  custom: {
    50: '#946acd',
    500: '#5e2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #5e2bb6;
$custom-light: #946acd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2bb6",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 262.014,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.20156,
    "h": 293
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#5E2BB6
secondary
#AAC875
accent
#E543A9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5E2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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