#5E3DBF#5E3DBF

#5E3DBF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.192 H 288.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5E3DBF
RGBrgb(94, 61, 191)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 68%, 75%)
CMYKcmyk(50.8%, 68.1%, 0%, 25.1%)
CIE-LABlab(36.89, 46.29, -63.40)
CIE-LCHlch(36.89, 78.50, 306.13°)
OKLaboklab(47.61% 0.0611 -0.1819)
OKLCHoklch(47.61% 0.192 288.6)
XYZxyz(15.6861, 9.4780, 50.2830)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3DBF #9EBF3D
analogous
#3D5DBF #5E3DBF #9F3DBF
triadic
#5E3DBF #BF5E3D #3DBF5E
tetradic
#5E3DBF #BF3D5D #9EBF3D #3DBF9F
square
#5E3DBF #BF3D5D #9EBF3D #3DBF9F
split-complementary
#5E3DBF #BF9F3D #5DBF3D
monochromatic
#301F62 #472E91 #5E3DBF #846ACF #AA98DE

Accessibility & contrast

On white

7.25
#5E3DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5E3DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3DBF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3DBF#FFFFFF#000000##FFFFFF
##5E3DBF1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#3B5E79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e3dbf;
/* rgb */ color: rgb(94, 61, 191);
/* oklch */ color: oklch(47.6% 0.192 288.6);
Tailwind
colors: {
  custom: {
    50: '#9475d3',
    500: '#5e3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #5e3dbf;
$custom-light: #9475d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3dbf",
  "rgb": {
    "r": 94,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 255.231,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.19193,
    "h": 288.6
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#5E3DBF
secondary
#BBCA8E
accent
#DB4DB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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