#4E4082#4E4082

#4E4082 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.9% C 0.107 H 290.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#4E4082
RGBrgb(78, 64, 130)
HSLhsl(253, 34%, 38%)
HSVhsv(253, 51%, 51%)
CMYKcmyk(40%, 50.8%, 0%, 49%)
CIE-LABlab(31.57, 22.87, -35.29)
CIE-LCHlch(31.57, 42.05, 302.95°)
OKLaboklab(41.94% 0.038 -0.0998)
OKLCHoklch(41.94% 0.107 290.8)
XYZxyz(9.0035, 6.8980, 21.9718)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4082 #748240
analogous
#405382 #4E4082 #6F4082
triadic
#4E4082 #824E40 #40824E
tetradic
#4E4082 #824053 #748240 #40826F
square
#4E4082 #824053 #748240 #40826F
split-complementary
#4E4082 #826F40 #538240
monochromatic
#1D1830 #352C59 #4E4082 #6754AB #8B7DBF

Accessibility & contrast

On white

8.83
#4E4082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E4082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4082
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4082#FFFFFF#000000##FFFFFF
##4E40821.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B84
Deuteranopia (green-blind)
#284980
Tritanopia (blue-blind)
#404D5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4082;
/* rgb */ color: rgb(78, 64, 130);
/* oklch */ color: oklch(41.9% 0.107 290.8);
Tailwind
colors: {
  custom: {
    50: '#8275a7',
    500: '#4e4082',
    950: '#000000',
  },
}
SCSS
$custom: #4e4082;
$custom-light: #8275a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4082",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 252.727,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41938,
    "c": 0.10681,
    "h": 290.8
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#4E4082
secondary
#9EAA74
accent
#CA5EB3
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4082

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

Preview Lab → · Contrast checker → · Palette generator →

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