#5E2BB3#5E2BB3

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

Color values

HEX#5E2BB3
RGBrgb(94, 43, 179)
HSLhsl(263, 61%, 44%)
HSVhsv(263, 76%, 70%)
CMYKcmyk(47.5%, 76%, 0%, 29.8%)
CIE-LABlab(32.62, 52.06, -63.30)
CIE-LCHlch(32.62, 81.96, 309.43°)
OKLaboklab(44.26% 0.0796 -0.1816)
OKLCHoklch(44.26% 0.198 293.7)
XYZxyz(13.6144, 7.3617, 43.3427)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2BB3 #80B32B
analogous
#2B3CB3 #5E2BB3 #A22BB3
triadic
#5E2BB3 #B35E2B #2BB35E
tetradic
#5E2BB3 #B32B3C #80B32B #2BB3A2
square
#5E2BB3 #B32B3C #80B32B #2BB3A2
split-complementary
#5E2BB3 #B3A22B #3CB32B
monochromatic
#2A1350 #441F82 #5E2BB3 #7C48D3 #A079DF

Accessibility & contrast

On white

8.49
#5E2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5E2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2BB3
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2BB3#FFFFFF#000000##FFFFFF
##5E2BB31.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e2bb3;
/* rgb */ color: rgb(94, 43, 179);
/* oklch */ color: oklch(44.3% 0.198 293.7);
Tailwind
colors: {
  custom: {
    50: '#946acb',
    500: '#5e2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #5e2bb3;
$custom-light: #946acb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2bb3",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 262.5,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44258,
    "c": 0.19825,
    "h": 293.7
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#5E2BB3
secondary
#A7C773
accent
#E443A8
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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