#4E4382#4E4382

#4E4382 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.5% C 0.102 H 289.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4E4382
RGBrgb(78, 67, 130)
HSLhsl(250, 32%, 39%)
HSVhsv(250, 48%, 51%)
CMYKcmyk(40%, 48.5%, 0%, 49%)
CIE-LABlab(32.36, 20.94, -34.03)
CIE-LCHlch(32.36, 39.96, 301.60°)
OKLaboklab(42.53% 0.0338 -0.0962)
OKLCHoklch(42.53% 0.102 289.4)
XYZxyz(9.1772, 7.2454, 22.0297)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4382 #778243
analogous
#435782 #4E4382 #6D4382
triadic
#4E4382 #824E43 #43824E
tetradic
#4E4382 #824357 #778243 #43826D
square
#4E4382 #824357 #778243 #43826D
split-complementary
#4E4382 #826D43 #578243
monochromatic
#1E1931 #362E5A #4E4382 #6759A9 #8C81BE

Accessibility & contrast

On white

8.57
#4E4382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E4382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4382
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4382#FFFFFF#000000##FFFFFF
##4E43821.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D84
Deuteranopia (green-blind)
#2C4B81
Tritanopia (blue-blind)
#40505C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4382;
/* rgb */ color: rgb(78, 67, 130);
/* oklch */ color: oklch(42.5% 0.102 289.4);
Tailwind
colors: {
  custom: {
    50: '#8277a7',
    500: '#4e4382',
    950: '#000000',
  },
}
SCSS
$custom: #4e4382;
$custom-light: #8277a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4382",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 250.476,
    "s": 31.98,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42528,
    "c": 0.10192,
    "h": 289.4
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#4E4382
secondary
#A1A978
accent
#C860B6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4382

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

Preview Lab → · Contrast checker → · Palette generator →

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