#4E4380#4E4380

#4E4380 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.4% C 0.099 H 289.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4E4380
RGBrgb(78, 67, 128)
HSLhsl(251, 31%, 38%)
HSVhsv(251, 48%, 50%)
CMYKcmyk(39.1%, 47.7%, 0%, 49.8%)
CIE-LABlab(32.24, 20.34, -32.98)
CIE-LCHlch(32.24, 38.75, 301.66°)
OKLaboklab(42.4% 0.0335 -0.0931)
OKLCHoklch(42.4% 0.099 289.8)
XYZxyz(9.0443, 7.1923, 21.3296)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4380 #758043
analogous
#435680 #4E4380 #6C4380
triadic
#4E4380 #804E43 #43804E
tetradic
#4E4380 #804356 #758043 #43806C
square
#4E4380 #804356 #758043 #43806C
split-complementary
#4E4380 #806C43 #568043
monochromatic
#1D1930 #362E58 #4E4380 #6758A8 #8B81BD

Accessibility & contrast

On white

8.61
#4E4380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E4380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4380
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4380#FFFFFF#000000##FFFFFF
##4E43801.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D82
Deuteranopia (green-blind)
#2E4A7F
Tritanopia (blue-blind)
#414F5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4380;
/* rgb */ color: rgb(78, 67, 128);
/* oklch */ color: oklch(42.4% 0.099 289.8);
Tailwind
colors: {
  custom: {
    50: '#8277a5',
    500: '#4e4380',
    950: '#000000',
  },
}
SCSS
$custom: #4e4380;
$custom-light: #8277a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4380",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 128
  },
  "hsl": {
    "h": 250.82,
    "s": 31.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42401,
    "c": 0.09892,
    "h": 289.8
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#4E4380
secondary
#9FA877
accent
#C760B5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4380

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

Preview Lab → · Contrast checker → · Palette generator →

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