#5E459D#5E459D

#5E459D is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.3% C 0.137 H 293.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5E459D
RGBrgb(94, 69, 157)
HSLhsl(257, 39%, 44%)
HSVhsv(257, 56%, 62%)
CMYKcmyk(40.1%, 56.1%, 0%, 38.4%)
CIE-LABlab(36.12, 31.83, -44.44)
CIE-LCHlch(36.12, 54.66, 305.61°)
OKLaboklab(46.25% 0.0546 -0.1262)
OKLCHoklch(46.25% 0.137 293.4)
XYZxyz(12.8284, 9.0699, 32.9665)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E459D #849D45
analogous
#45589D #5E459D #8A459D
triadic
#5E459D #9D5E45 #459D5E
tetradic
#5E459D #9D4558 #849D45 #459D8A
square
#5E459D #9D4558 #849D45 #459D8A
split-complementary
#5E459D #9D8A45 #589D45
monochromatic
#2B2048 #453272 #5E459D #7D64BB #A18FCE

Accessibility & contrast

On white

7.46
#5E459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5E459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E459D
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E459D#FFFFFF#000000##FFFFFF
##5E459D1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#21539B
Tritanopia (blue-blind)
#4E576A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e459d;
/* rgb */ color: rgb(94, 69, 157);
/* oklch */ color: oklch(46.3% 0.137 293.4);
Tailwind
colors: {
  custom: {
    50: '#9079ba',
    500: '#5e459d',
    950: '#000000',
  },
}
SCSS
$custom: #5e459d;
$custom-light: #9079ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5e459d",
  "rgb": {
    "r": 94,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 257.045,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46254,
    "c": 0.13748,
    "h": 293.4
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#5E459D
secondary
#AAB985
accent
#CF59AD
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5E459D

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

Preview Lab → · Contrast checker → · Palette generator →

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