#5E48BF#5E48BF

#5E48BF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.3% C 0.178 H 286.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5E48BF
RGBrgb(94, 72, 191)
HSLhsl(251, 48%, 52%)
HSVhsv(251, 62%, 75%)
CMYKcmyk(50.8%, 62.3%, 0%, 25.1%)
CIE-LABlab(39.20, 40.06, -59.64)
CIE-LCHlch(39.20, 71.85, 303.89°)
OKLaboklab(49.28% 0.0502 -0.1709)
OKLCHoklch(49.28% 0.178 286.4)
XYZxyz(16.3346, 10.7752, 50.4992)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48BF #A9BF48
analogous
#486EBF #5E48BF #9948BF
triadic
#5E48BF #BF5E48 #48BF5E
tetradic
#5E48BF #BF486E #A9BF48 #48BF99
square
#5E48BF #BF486E #A9BF48 #48BF99
split-complementary
#5E48BF #BF9948 #6EBF48
monochromatic
#312468 #463496 #5E48BF #8675CF #AEA3DF

Accessibility & contrast

On white

6.66
#5E48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5E48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48BF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48BF#FFFFFF#000000##FFFFFF
##5E48BF1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#3A647D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e48bf;
/* rgb */ color: rgb(94, 72, 191);
/* oklch */ color: oklch(49.3% 0.178 286.4);
Tailwind
colors: {
  custom: {
    50: '#947cd3',
    500: '#5e48bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e48bf;
$custom-light: #947cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48bf",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 251.092,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.17811,
    "h": 286.4
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#5E48BF
secondary
#C2CC97
accent
#D850BF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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