#5E438D#5E438D

#5E438D is a dark, moderate violet. Relative luminance 0.083; OKLCH L 44.8% C 0.119 H 298.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5E438D
RGBrgb(94, 67, 141)
HSLhsl(262, 36%, 41%)
HSVhsv(262, 52%, 55%)
CMYKcmyk(33.3%, 52.5%, 0%, 44.7%)
CIE-LABlab(34.63, 28.54, -37.09)
CIE-LCHlch(34.63, 46.80, 307.58°)
OKLaboklab(44.83% 0.0564 -0.1046)
OKLCHoklch(44.83% 0.119 298.3)
XYZxyz(11.4298, 8.3170, 26.1973)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E438D #728D43
analogous
#434D8D #5E438D #83438D
triadic
#5E438D #8D5E43 #438D5E
tetradic
#5E438D #8D434D #728D43 #438D83
square
#5E438D #8D434D #728D43 #438D83
split-complementary
#5E438D #8D8343 #4D8D43
monochromatic
#271C3A #422F64 #5E438D #7B5CB1 #9D85C5

Accessibility & contrast

On white

7.88
#5E438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5E438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E438D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E438D#FFFFFF#000000##FFFFFF
##5E438D1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285290
Deuteranopia (green-blind)
#2F518B
Tritanopia (blue-blind)
#545161
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e438d;
/* rgb */ color: rgb(94, 67, 141);
/* oklch */ color: oklch(44.8% 0.119 298.3);
Tailwind
colors: {
  custom: {
    50: '#8e78af',
    500: '#5e438d',
    950: '#000000',
  },
}
SCSS
$custom: #5e438d;
$custom-light: #8e78af;
$custom-dark: #000000;
JSON
{
  "hex": "#5e438d",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 261.892,
    "s": 35.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44829,
    "c": 0.11887,
    "h": 298.3
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#5E438D
secondary
#9DB07C
accent
#CC5CA3
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5E438D

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

Preview Lab → · Contrast checker → · Palette generator →

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