#4E4083#4E4083

#4E4083 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 42.0% C 0.108 H 290.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4E4083
RGBrgb(78, 64, 131)
HSLhsl(253, 34%, 38%)
HSVhsv(253, 51%, 51%)
CMYKcmyk(40.5%, 51.1%, 0%, 48.6%)
CIE-LABlab(31.64, 23.17, -35.81)
CIE-LCHlch(31.64, 42.65, 302.90°)
OKLaboklab(42.01% 0.0381 -0.1014)
OKLCHoklch(42.01% 0.108 290.6)
XYZxyz(9.0709, 6.9249, 22.3270)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4083 #758340
analogous
#405383 #4E4083 #6F4083
triadic
#4E4083 #834E40 #40834E
tetradic
#4E4083 #834053 #758340 #40836F
square
#4E4083 #834053 #758340 #40836F
split-complementary
#4E4083 #836F40 #538340
monochromatic
#1D1831 #362C5A #4E4083 #6754AC #8B7EC0

Accessibility & contrast

On white

8.81
#4E4083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E4083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4083
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4083#FFFFFF#000000##FFFFFF
##4E40831.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C85
Deuteranopia (green-blind)
#274981
Tritanopia (blue-blind)
#404E5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4083;
/* rgb */ color: rgb(78, 64, 131);
/* oklch */ color: oklch(42.0% 0.108 290.6);
Tailwind
colors: {
  custom: {
    50: '#8375a7',
    500: '#4e4083',
    950: '#000000',
  },
}
SCSS
$custom: #4e4083;
$custom-light: #8375a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4083",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 252.537,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42005,
    "c": 0.10827,
    "h": 290.6
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#4E4083
secondary
#9FAA75
accent
#CA5DB4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4083

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

Preview Lab → · Contrast checker → · Palette generator →

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