#5E429D#5E429D

#5E429D is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.7% C 0.142 H 294.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5E429D
RGBrgb(94, 66, 157)
HSLhsl(258, 41%, 44%)
HSVhsv(258, 58%, 62%)
CMYKcmyk(40.1%, 58%, 0%, 38.4%)
CIE-LABlab(35.42, 33.63, -45.56)
CIE-LCHlch(35.42, 56.63, 306.44°)
OKLaboklab(45.74% 0.0584 -0.1295)
OKLCHoklch(45.74% 0.142 294.3)
XYZxyz(12.6485, 8.7101, 32.9066)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E429D #819D42
analogous
#42539D #5E429D #8B429D
triadic
#5E429D #9D5E42 #429D5E
tetradic
#5E429D #9D4253 #819D42 #429D8B
square
#5E429D #9D4253 #819D42 #429D8B
split-complementary
#5E429D #9D8B42 #539D42
monochromatic
#2A1E47 #443072 #5E429D #7C60BC #A08BCE

Accessibility & contrast

On white

7.66
#5E429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5E429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E429D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E429D#FFFFFF#000000##FFFFFF
##5E429D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1054A0
Deuteranopia (green-blind)
#1B529B
Tritanopia (blue-blind)
#4E5569
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e429d;
/* rgb */ color: rgb(94, 66, 157);
/* oklch */ color: oklch(45.7% 0.142 294.3);
Tailwind
colors: {
  custom: {
    50: '#9077ba',
    500: '#5e429d',
    950: '#000000',
  },
}
SCSS
$custom: #5e429d;
$custom-light: #9077ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5e429d",
  "rgb": {
    "r": 94,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 258.462,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45739,
    "c": 0.14205,
    "h": 294.3
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#5E429D
secondary
#A8B982
accent
#D157AB
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5E429D

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

Preview Lab → · Contrast checker → · Palette generator →

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