#4E4282#4E4282

#4E4282 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.3% C 0.104 H 289.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4E4282
RGBrgb(78, 66, 130)
HSLhsl(251, 33%, 38%)
HSVhsv(251, 49%, 51%)
CMYKcmyk(40%, 49.2%, 0%, 49%)
CIE-LABlab(32.10, 21.58, -34.45)
CIE-LCHlch(32.10, 40.66, 302.06°)
OKLaboklab(42.33% 0.0352 -0.0974)
OKLCHoklch(42.33% 0.104 289.9)
XYZxyz(9.1183, 7.1276, 22.0101)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4282 #768242
analogous
#425682 #4E4282 #6E4282
triadic
#4E4282 #824E42 #42824E
tetradic
#4E4282 #824256 #768242 #42826E
square
#4E4282 #824256 #768242 #42826E
split-complementary
#4E4282 #826E42 #568242
monochromatic
#1D1931 #362D59 #4E4282 #6757AA #8C80BE

Accessibility & contrast

On white

8.66
#4E4282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E4282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4282
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4282#FFFFFF#000000##FFFFFF
##4E42821.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#2B4A81
Tritanopia (blue-blind)
#404F5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4282;
/* rgb */ color: rgb(78, 66, 130);
/* oklch */ color: oklch(42.3% 0.104 289.9);
Tailwind
colors: {
  custom: {
    50: '#8276a7',
    500: '#4e4282',
    950: '#000000',
  },
}
SCSS
$custom: #4e4282;
$custom-light: #8276a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4282",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 251.25,
    "s": 32.653,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4233,
    "c": 0.10355,
    "h": 289.9
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#4E4282
secondary
#A0A977
accent
#C95FB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4282

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

Preview Lab → · Contrast checker → · Palette generator →

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