#5E49BB#5E49BB

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

Color values

HEX#5E49BB
RGBrgb(94, 73, 187)
HSLhsl(251, 46%, 51%)
HSVhsv(251, 61%, 73%)
CMYKcmyk(49.7%, 61%, 0%, 26.7%)
CIE-LABlab(39.13, 38.27, -57.42)
CIE-LCHlch(39.13, 69.00, 303.68°)
OKLaboklab(49.13% 0.0494 -0.1643)
OKLCHoklch(49.13% 0.172 286.7)
XYZxyz(15.9656, 10.7319, 48.2343)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49BB #A6BB49
analogous
#496DBB #5E49BB #9749BB
triadic
#5E49BB #BB5E49 #49BB5E
tetradic
#5E49BB #BB496D #A6BB49 #49BB97
square
#5E49BB #BB496D #A6BB49 #49BB97
split-complementary
#5E49BB #BB9749 #6DBB49
monochromatic
#312564 #473691 #5E49BB #8576CC #ADA2DC

Accessibility & contrast

On white

6.67
#5E49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5E49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49BB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49BB#FFFFFF#000000##FFFFFF
##5E49BB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#3D647B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e49bb;
/* rgb */ color: rgb(94, 73, 187);
/* oklch */ color: oklch(49.1% 0.172 286.7);
Tailwind
colors: {
  custom: {
    50: '#937dd0',
    500: '#5e49bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e49bb;
$custom-light: #937dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49bb",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 251.053,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49128,
    "c": 0.17161,
    "h": 286.7
  },
  "luminance": 0.10733
}

Semantic roles & 50–950 ramp

primary
#5E49BB
secondary
#C0C997
accent
#D553BD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5E49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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