#5B43BC#5B43BC

#5B43BC is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.181 H 286.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5B43BC
RGBrgb(91, 67, 188)
HSLhsl(252, 47%, 50%)
HSVhsv(252, 64%, 74%)
CMYKcmyk(51.6%, 64.4%, 0%, 26.3%)
CIE-LABlab(37.61, 41.50, -60.49)
CIE-LCHlch(37.61, 73.36, 304.45°)
OKLaboklab(47.98% 0.0515 -0.1735)
OKLCHoklch(47.98% 0.181 286.5)
XYZxyz(15.3960, 9.8685, 48.6608)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43BC #A4BC43
analogous
#4367BC #5B43BC #9843BC
triadic
#5B43BC #BC5B43 #43BC5B
tetradic
#5B43BC #BC4367 #A4BC43 #43BC98
square
#5B43BC #BC4367 #A4BC43 #43BC98
split-complementary
#5B43BC #BC9843 #67BC43
monochromatic
#2F2362 #45338F #5B43BC #8270CC #AA9DDC

Accessibility & contrast

On white

7.06
#5B43BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5B43BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B43BC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43BC#FFFFFF#000000##FFFFFF
##5B43BC1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#366179
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5b43bc;
/* rgb */ color: rgb(91, 67, 188);
/* oklch */ color: oklch(48.0% 0.181 286.5);
Tailwind
colors: {
  custom: {
    50: '#9278d1',
    500: '#5b43bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b43bc;
$custom-light: #9278d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43bc",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 251.901,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.18097,
    "h": 286.5
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#5B43BC
secondary
#BEC992
accent
#D751BC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5B43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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