#4E4176#4E4176

#4E4176 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.4% C 0.087 H 293.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4E4176
RGBrgb(78, 65, 118)
HSLhsl(255, 29%, 36%)
HSVhsv(255, 45%, 46%)
CMYKcmyk(33.9%, 44.9%, 0%, 53.7%)
CIE-LABlab(31.13, 18.68, -28.49)
CIE-LCHlch(31.13, 34.07, 303.25°)
OKLaboklab(41.38% 0.0348 -0.08)
OKLCHoklch(41.38% 0.087 293.5)
XYZxyz(8.3014, 6.7082, 17.9935)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4176 #697641
analogous
#414E76 #4E4176 #684176
triadic
#4E4176 #764E41 #41764E
tetradic
#4E4176 #76414E #697641 #417668
square
#4E4176 #76414E #697641 #417668
split-complementary
#4E4176 #766841 #4E7641
monochromatic
#1A1627 #342B4F #4E4176 #68579D #8A7BB6

Accessibility & contrast

On white

8.97
#4E4176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E4176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4176
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4176#FFFFFF#000000##FFFFFF
##4E41761.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#324875
Tritanopia (blue-blind)
#454B56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4176;
/* rgb */ color: rgb(78, 65, 118);
/* oklch */ color: oklch(41.4% 0.087 293.5);
Tailwind
colors: {
  custom: {
    50: '#81759e',
    500: '#4e4176',
    950: '#000000',
  },
}
SCSS
$custom: #4e4176;
$custom-light: #81759e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4176",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 118
  },
  "hsl": {
    "h": 254.717,
    "s": 28.962,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.08721,
    "h": 293.5
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#4E4176
secondary
#96A172
accent
#C563AD
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4176

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

Preview Lab → · Contrast checker → · Palette generator →

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