#5E488F#5E488F

#5E488F is a mid, moderate violet. Relative luminance 0.090; OKLCH L 45.9% C 0.113 H 295.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5E488F
RGBrgb(94, 72, 143)
HSLhsl(259, 33%, 42%)
HSVhsv(259, 50%, 56%)
CMYKcmyk(34.3%, 49.7%, 0%, 43.9%)
CIE-LABlab(35.98, 26.02, -36.17)
CIE-LCHlch(35.98, 44.56, 305.72°)
OKLaboklab(45.87% 0.0495 -0.102)
OKLCHoklch(45.87% 0.113 295.9)
XYZxyz(11.8901, 8.9974, 27.0915)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E488F #798F48
analogous
#48558F #5E488F #82488F
triadic
#5E488F #8F5E48 #488F5E
tetradic
#5E488F #8F4855 #798F48 #488F82
square
#5E488F #8F4855 #798F48 #488F82
split-complementary
#5E488F #8F8248 #558F48
monochromatic
#281F3E #433466 #5E488F #7B63B1 #9E8CC5

Accessibility & contrast

On white

7.50
#5E488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5E488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E488F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E488F#FFFFFF#000000##FFFFFF
##5E488F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#34548D
Tritanopia (blue-blind)
#535665
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e488f;
/* rgb */ color: rgb(94, 72, 143);
/* oklch */ color: oklch(45.9% 0.113 295.9);
Tailwind
colors: {
  custom: {
    50: '#8e7bb0',
    500: '#5e488f',
    950: '#000000',
  },
}
SCSS
$custom: #5e488f;
$custom-light: #8e7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e488f",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 258.592,
    "s": 33.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45871,
    "c": 0.11335,
    "h": 295.9
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#5E488F
secondary
#A2B182
accent
#C95FA8
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5E488F

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

Preview Lab → · Contrast checker → · Palette generator →

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