#4E4478#4E4478

#4E4478 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.1% C 0.085 H 291.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4E4478
RGBrgb(78, 68, 120)
HSLhsl(252, 28%, 37%)
HSVhsv(252, 43%, 47%)
CMYKcmyk(35%, 43.3%, 0%, 52.9%)
CIE-LABlab(32.06, 17.32, -28.29)
CIE-LCHlch(32.06, 33.17, 301.48°)
OKLaboklab(42.11% 0.0307 -0.0794)
OKLCHoklch(42.11% 0.085 291.1)
XYZxyz(8.5983, 7.1098, 18.6850)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4478 #6E7844
analogous
#445478 #4E4478 #684478
triadic
#4E4478 #784E44 #44784E
tetradic
#4E4478 #784454 #6E7844 #447868
square
#4E4478 #784454 #6E7844 #447868
split-complementary
#4E4478 #786844 #547844
monochromatic
#1B182A #352E51 #4E4478 #675A9F #8A80B7

Accessibility & contrast

On white

8.67
#4E4478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E4478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4478
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4478#FFFFFF#000000##FFFFFF
##4E44781.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344C7A
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#444E58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4478;
/* rgb */ color: rgb(78, 68, 120);
/* oklch */ color: oklch(42.1% 0.085 291.1);
Tailwind
colors: {
  custom: {
    50: '#81789f',
    500: '#4e4478',
    950: '#000000',
  },
}
SCSS
$custom: #4e4478;
$custom-light: #81789f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4478",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 120
  },
  "hsl": {
    "h": 251.538,
    "s": 27.66,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.0851,
    "h": 291.1
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#4E4478
secondary
#9AA276
accent
#C464B1
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4478

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

Preview Lab → · Contrast checker → · Palette generator →

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