#5E45BE#5E45BE

#5E45BE is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.7% C 0.181 H 287.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5E45BE
RGBrgb(94, 69, 190)
HSLhsl(252, 48%, 51%)
HSVhsv(252, 64%, 75%)
CMYKcmyk(50.5%, 63.7%, 0%, 25.5%)
CIE-LABlab(38.47, 41.50, -60.24)
CIE-LCHlch(38.47, 73.16, 304.56°)
OKLaboklab(48.72% 0.0534 -0.1727)
OKLCHoklch(48.72% 0.181 287.2)
XYZxyz(16.0357, 10.3529, 49.8586)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E45BE #A5BE45
analogous
#4568BE #5E45BE #9A45BE
triadic
#5E45BE #BE5E45 #45BE5E
tetradic
#5E45BE #BE4568 #A5BE45 #45BE9A
square
#5E45BE #BE4568 #A5BE45 #45BE9A
split-complementary
#5E45BE #BE9A45 #68BE45
monochromatic
#312365 #473393 #5E45BE #8572CE #ADA0DE

Accessibility & contrast

On white

6.84
#5E45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5E45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E45BE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E45BE#FFFFFF#000000##FFFFFF
##5E45BE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#3B627B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e45be;
/* rgb */ color: rgb(94, 69, 190);
/* oklch */ color: oklch(48.7% 0.181 287.2);
Tailwind
colors: {
  custom: {
    50: '#947ad2',
    500: '#5e45be',
    950: '#000000',
  },
}
SCSS
$custom: #5e45be;
$custom-light: #947ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e45be",
  "rgb": {
    "r": 94,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 252.397,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.18073,
    "h": 287.2
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#5E45BE
secondary
#BFCA95
accent
#D850BC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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