#5E488D#5E488D

#5E488D is a mid, moderate violet. Relative luminance 0.089; OKLCH L 45.7% C 0.111 H 296.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5E488D
RGBrgb(94, 72, 141)
HSLhsl(259, 32%, 42%)
HSVhsv(259, 49%, 55%)
CMYKcmyk(33.3%, 48.9%, 0%, 44.7%)
CIE-LABlab(35.86, 25.46, -35.14)
CIE-LCHlch(35.86, 43.39, 305.93°)
OKLaboklab(45.75% 0.0493 -0.0989)
OKLCHoklch(45.75% 0.111 296.5)
XYZxyz(11.7400, 8.9373, 26.3007)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E488D #778D48
analogous
#48558D #5E488D #81488D
triadic
#5E488D #8D5E48 #488D5E
tetradic
#5E488D #8D4855 #778D48 #488D81
square
#5E488D #8D4855 #778D48 #488D81
split-complementary
#5E488D #8D8148 #558D48
monochromatic
#281F3C #433364 #5E488D #7B63AF #9D8BC4

Accessibility & contrast

On white

7.53
#5E488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5E488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E488D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E488D#FFFFFF#000000##FFFFFF
##5E488D1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#545564
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e488d;
/* rgb */ color: rgb(94, 72, 141);
/* oklch */ color: oklch(45.7% 0.111 296.5);
Tailwind
colors: {
  custom: {
    50: '#8e7baf',
    500: '#5e488d',
    950: '#000000',
  },
}
SCSS
$custom: #5e488d;
$custom-light: #8e7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e488d",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 259.13,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.11053,
    "h": 296.5
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#5E488D
secondary
#A1B081
accent
#C95FA7
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5E488D

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

Preview Lab → · Contrast checker → · Palette generator →

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