#4E4379#4E4379

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

Color values

HEX#4E4379
RGBrgb(78, 67, 121)
HSLhsl(252, 29%, 37%)
HSVhsv(252, 45%, 47%)
CMYKcmyk(35.5%, 44.6%, 0%, 52.5%)
CIE-LABlab(31.84, 18.26, -29.25)
CIE-LCHlch(31.84, 34.48, 301.97°)
OKLaboklab(41.97% 0.0323 -0.0822)
OKLCHoklch(41.97% 0.088 291.5)
XYZxyz(8.5993, 7.0143, 18.9863)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4379 #6E7943
analogous
#435379 #4E4379 #694379
triadic
#4E4379 #794E43 #43794E
tetradic
#4E4379 #794353 #6E7943 #437969
square
#4E4379 #794353 #6E7943 #437969
split-complementary
#4E4379 #796943 #537943
monochromatic
#1B172A #352D52 #4E4379 #6759A0 #8A7FB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4379#FFFFFF#000000##FFFFFF
##4E43791.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)
#324C7B
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#444D58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4379;
/* rgb */ color: rgb(78, 67, 121);
/* oklch */ color: oklch(42.0% 0.088 291.5);
Tailwind
colors: {
  custom: {
    50: '#8177a0',
    500: '#4e4379',
    950: '#000000',
  },
}
SCSS
$custom: #4e4379;
$custom-light: #8177a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4379",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 121
  },
  "hsl": {
    "h": 252.222,
    "s": 28.723,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.08833,
    "h": 291.5
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#4E4379
secondary
#9AA375
accent
#C563B1
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4379

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

Preview Lab → · Contrast checker → · Palette generator →

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