#4E4182#4E4182

#4E4182 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.1% C 0.105 H 290.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4E4182
RGBrgb(78, 65, 130)
HSLhsl(252, 33%, 38%)
HSVhsv(252, 50%, 51%)
CMYKcmyk(40%, 50%, 0%, 49%)
CIE-LABlab(31.83, 22.23, -34.87)
CIE-LCHlch(31.83, 41.35, 302.51°)
OKLaboklab(42.13% 0.0366 -0.0986)
OKLCHoklch(42.13% 0.105 290.4)
XYZxyz(9.0604, 7.0117, 21.9908)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4182 #758241
analogous
#415482 #4E4182 #6E4182
triadic
#4E4182 #824E41 #41824E
tetradic
#4E4182 #824154 #758241 #41826E
square
#4E4182 #824154 #758241 #41826E
split-complementary
#4E4182 #826E41 #548241
monochromatic
#1D1830 #362D59 #4E4182 #6756AA #8B7FBF

Accessibility & contrast

On white

8.74
#4E4182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E4182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4182
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4182#FFFFFF#000000##FFFFFF
##4E41821.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#404E5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4182;
/* rgb */ color: rgb(78, 65, 130);
/* oklch */ color: oklch(42.1% 0.105 290.4);
Tailwind
colors: {
  custom: {
    50: '#8276a7',
    500: '#4e4182',
    950: '#000000',
  },
}
SCSS
$custom: #4e4182;
$custom-light: #8276a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4182",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 252,
    "s": 33.333,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.10518,
    "h": 290.4
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#4E4182
secondary
#9FA975
accent
#C95EB4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4182

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

Preview Lab → · Contrast checker → · Palette generator →

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