#5E438E#5E438E

#5E438E is a dark, vivid violet. Relative luminance 0.083; OKLCH L 44.9% C 0.120 H 298.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5E438E
RGBrgb(94, 67, 142)
HSLhsl(262, 36%, 41%)
HSVhsv(262, 53%, 56%)
CMYKcmyk(33.8%, 52.8%, 0%, 44.3%)
CIE-LABlab(34.70, 28.82, -37.61)
CIE-LCHlch(34.70, 47.38, 307.46°)
OKLaboklab(44.89% 0.0565 -0.1061)
OKLCHoklch(44.89% 0.12 298)
XYZxyz(11.5045, 8.3469, 26.5909)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E438E #738E43
analogous
#434D8E #5E438E #83438E
triadic
#5E438E #8E5E43 #438E5E
tetradic
#5E438E #8E434D #738E43 #438E83
square
#5E438E #8E434D #738E43 #438E83
split-complementary
#5E438E #8E8343 #4D8E43
monochromatic
#271C3B #422F64 #5E438E #7B5CB2 #9D86C6

Accessibility & contrast

On white

7.87
#5E438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5E438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E438E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E438E#FFFFFF#000000##FFFFFF
##5E438E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#2E518C
Tritanopia (blue-blind)
#545262
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e438e;
/* rgb */ color: rgb(94, 67, 142);
/* oklch */ color: oklch(44.9% 0.120 298.0);
Tailwind
colors: {
  custom: {
    50: '#8e78af',
    500: '#5e438e',
    950: '#000000',
  },
}
SCSS
$custom: #5e438e;
$custom-light: #8e78af;
$custom-dark: #000000;
JSON
{
  "hex": "#5e438e",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 261.6,
    "s": 35.885,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.12023,
    "h": 298
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#5E438E
secondary
#9EB17C
accent
#CC5CA4
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5E438E

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

Preview Lab → · Contrast checker → · Palette generator →

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