#5D43BB#5D43BB

#5D43BB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.180 H 287.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5D43BB
RGBrgb(93, 67, 187)
HSLhsl(253, 47%, 50%)
HSVhsv(253, 64%, 73%)
CMYKcmyk(50.3%, 64.2%, 0%, 26.7%)
CIE-LABlab(37.71, 41.58, -59.71)
CIE-LCHlch(37.71, 72.76, 304.85°)
OKLaboklab(48.08% 0.0543 -0.1711)
OKLCHoklch(48.08% 0.18 287.6)
XYZxyz(15.4884, 9.9286, 48.1044)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43BB #A1BB43
analogous
#4365BB #5D43BB #9943BB
triadic
#5D43BB #BB5D43 #43BB5D
tetradic
#5D43BB #BB4365 #A1BB43 #43BB99
square
#5D43BB #BB4365 #A1BB43 #43BB99
split-complementary
#5D43BB #BB9943 #65BB43
monochromatic
#302361 #47338E #5D43BB #8470CC #AA9DDC

Accessibility & contrast

On white

7.03
#5D43BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5D43BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D43BB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43BB#FFFFFF#000000##FFFFFF
##5D43BB1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#3B6079
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5d43bb;
/* rgb */ color: rgb(93, 67, 187);
/* oklch */ color: oklch(48.1% 0.180 287.6);
Tailwind
colors: {
  custom: {
    50: '#9379d0',
    500: '#5d43bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d43bb;
$custom-light: #9379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43bb",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 253,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.17957,
    "h": 287.6
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#5D43BB
secondary
#BCC892
accent
#D751BA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5D43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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