#5D48BE#5D48BE

#5D48BE is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.1% C 0.177 H 286.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5D48BE
RGBrgb(93, 72, 190)
HSLhsl(251, 48%, 51%)
HSVhsv(251, 62%, 75%)
CMYKcmyk(51.1%, 62.1%, 0%, 25.5%)
CIE-LABlab(39.03, 39.57, -59.33)
CIE-LCHlch(39.03, 71.31, 303.70°)
OKLaboklab(49.11% 0.0489 -0.17)
OKLCHoklch(49.11% 0.177 286.1)
XYZxyz(16.1231, 10.6788, 49.9169)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48BE #A9BE48
analogous
#486EBE #5D48BE #9848BE
triadic
#5D48BE #BE5D48 #48BE5D
tetradic
#5D48BE #BE486E #A9BE48 #48BE98
square
#5D48BE #BE486E #A9BE48 #48BE98
split-complementary
#5D48BE #BE9848 #6EBE48
monochromatic
#302567 #463594 #5D48BE #8575CE #ADA2DE

Accessibility & contrast

On white

6.70
#5D48BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5D48BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48BE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48BE#FFFFFF#000000##FFFFFF
##5D48BE1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#39647C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d48be;
/* rgb */ color: rgb(93, 72, 190);
/* oklch */ color: oklch(49.1% 0.177 286.1);
Tailwind
colors: {
  custom: {
    50: '#937cd2',
    500: '#5d48be',
    950: '#000000',
  },
}
SCSS
$custom: #5d48be;
$custom-light: #937cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48be",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 250.678,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.1769,
    "h": 286.1
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#5D48BE
secondary
#C2CB97
accent
#D751BF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5D48BE

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

Preview Lab → · Contrast checker → · Palette generator →

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