#4E4183#4E4183

#4E4183 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.2% C 0.107 H 290.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4E4183
RGBrgb(78, 65, 131)
HSLhsl(252, 34%, 38%)
HSVhsv(252, 50%, 51%)
CMYKcmyk(40.5%, 50.4%, 0%, 48.6%)
CIE-LABlab(31.89, 22.53, -35.39)
CIE-LCHlch(31.89, 41.95, 302.48°)
OKLaboklab(42.2% 0.0367 -0.1001)
OKLCHoklch(42.2% 0.107 290.1)
XYZxyz(9.1278, 7.0387, 22.3460)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4183 #768341
analogous
#415583 #4E4183 #6F4183
triadic
#4E4183 #834E41 #41834E
tetradic
#4E4183 #834155 #768341 #41836F
square
#4E4183 #834155 #768341 #41836F
split-complementary
#4E4183 #836F41 #558341
monochromatic
#1D1831 #362D5A #4E4183 #6756AB #8C7FBF

Accessibility & contrast

On white

8.72
#4E4183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E4183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4183
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4183#FFFFFF#000000##FFFFFF
##4E41831.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#294A81
Tritanopia (blue-blind)
#404E5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4183;
/* rgb */ color: rgb(78, 65, 131);
/* oklch */ color: oklch(42.2% 0.107 290.1);
Tailwind
colors: {
  custom: {
    50: '#8376a7',
    500: '#4e4183',
    950: '#000000',
  },
}
SCSS
$custom: #4e4183;
$custom-light: #8376a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4183",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 251.818,
    "s": 33.673,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.10665,
    "h": 290.1
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#4E4183
secondary
#A0AA76
accent
#CA5EB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4183

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

Preview Lab → · Contrast checker → · Palette generator →

#4E4183 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva