#4E4371#4E4371

#4E4371 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.5% C 0.076 H 293.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4E4371
RGBrgb(78, 67, 113)
HSLhsl(254, 26%, 35%)
HSVhsv(254, 41%, 44%)
CMYKcmyk(31%, 40.7%, 0%, 55.7%)
CIE-LABlab(31.41, 15.95, -24.91)
CIE-LCHlch(31.41, 29.58, 302.63°)
OKLaboklab(41.5% 0.0307 -0.0696)
OKLCHoklch(41.5% 0.076 293.8)
XYZxyz(8.1289, 6.8261, 16.5089)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4371 #667143
analogous
#434F71 #4E4371 #654371
triadic
#4E4371 #714E43 #43714E
tetradic
#4E4371 #71434F #667143 #437165
square
#4E4371 #71434F #667143 #437165
split-complementary
#4E4371 #716543 #4F7143
monochromatic
#191524 #332C4B #4E4371 #695A97 #897DB2

Accessibility & contrast

On white

8.88
#4E4371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E4371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4371
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4371#FFFFFF#000000##FFFFFF
##4E43711.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#464B54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4371;
/* rgb */ color: rgb(78, 67, 113);
/* oklch */ color: oklch(41.5% 0.076 293.8);
Tailwind
colors: {
  custom: {
    50: '#81779a',
    500: '#4e4371',
    950: '#000000',
  },
}
SCSS
$custom: #4e4371;
$custom-light: #81779a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4371",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 113
  },
  "hsl": {
    "h": 254.348,
    "s": 25.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41498,
    "c": 0.07605,
    "h": 293.8
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#4E4371
secondary
#939D73
accent
#C266AC
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4371

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

Preview Lab → · Contrast checker → · Palette generator →

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