#4E4372#4E4372

#4E4372 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.6% C 0.078 H 293.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#4E4372
RGBrgb(78, 67, 114)
HSLhsl(254, 26%, 35%)
HSVhsv(254, 41%, 45%)
CMYKcmyk(31.6%, 41.2%, 0%, 55.3%)
CIE-LABlab(31.46, 16.23, -25.46)
CIE-LCHlch(31.46, 30.19, 302.52°)
OKLaboklab(41.56% 0.0309 -0.0712)
OKLCHoklch(41.56% 0.078 293.5)
XYZxyz(8.1855, 6.8488, 16.8070)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4372 #677243
analogous
#434F72 #4E4372 #654372
triadic
#4E4372 #724E43 #43724E
tetradic
#4E4372 #72434F #677243 #437265
square
#4E4372 #72434F #677243 #437265
split-complementary
#4E4372 #726543 #4F7243
monochromatic
#191625 #342C4B #4E4372 #685A99 #897DB3

Accessibility & contrast

On white

8.86
#4E4372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4372
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4372#FFFFFF#000000##FFFFFF
##4E43721.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B74
Deuteranopia (green-blind)
#374971
Tritanopia (blue-blind)
#464B55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4372;
/* rgb */ color: rgb(78, 67, 114);
/* oklch */ color: oklch(41.6% 0.078 293.5);
Tailwind
colors: {
  custom: {
    50: '#81779b',
    500: '#4e4372',
    950: '#000000',
  },
}
SCSS
$custom: #4e4372;
$custom-light: #81779b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4372",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 254.043,
    "s": 25.967,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.07759,
    "h": 293.5
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#4E4372
secondary
#949E73
accent
#C265AD
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4372

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

Preview Lab → · Contrast checker → · Palette generator →

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