#4E4280#4E4280

#4E4280 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.2% C 0.101 H 290.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4E4280
RGBrgb(78, 66, 128)
HSLhsl(252, 32%, 38%)
HSVhsv(252, 48%, 50%)
CMYKcmyk(39.1%, 48.4%, 0%, 49.8%)
CIE-LABlab(31.98, 20.98, -33.40)
CIE-LCHlch(31.98, 39.45, 302.13°)
OKLaboklab(42.2% 0.0349 -0.0943)
OKLCHoklch(42.2% 0.101 290.3)
XYZxyz(8.9853, 7.0744, 21.3100)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4280 #748042
analogous
#425580 #4E4280 #6D4280
triadic
#4E4280 #804E42 #42804E
tetradic
#4E4280 #804255 #748042 #42806D
square
#4E4280 #804255 #748042 #42806D
split-complementary
#4E4280 #806D42 #558042
monochromatic
#1D182F #352D58 #4E4280 #6757A8 #8B7FBD

Accessibility & contrast

On white

8.70
#4E4280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4280
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4280#FFFFFF#000000##FFFFFF
##4E42801.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C82
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#414E5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4280;
/* rgb */ color: rgb(78, 66, 128);
/* oklch */ color: oklch(42.2% 0.101 290.3);
Tailwind
colors: {
  custom: {
    50: '#8276a5',
    500: '#4e4280',
    950: '#000000',
  },
}
SCSS
$custom: #4e4280;
$custom-light: #8276a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4280",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 128
  },
  "hsl": {
    "h": 251.613,
    "s": 31.959,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.10057,
    "h": 290.3
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#4E4280
secondary
#9EA876
accent
#C860B4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4280

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

Preview Lab → · Contrast checker → · Palette generator →

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