#4E4177#4E4177

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

Color values

HEX#4E4177
RGBrgb(78, 65, 119)
HSLhsl(254, 29%, 36%)
HSVhsv(254, 45%, 47%)
CMYKcmyk(34.5%, 45.4%, 0%, 53.3%)
CIE-LABlab(31.19, 18.97, -29.03)
CIE-LCHlch(31.19, 34.68, 303.17°)
OKLaboklab(41.44% 0.035 -0.0815)
OKLCHoklch(41.44% 0.089 293.2)
XYZxyz(8.3611, 6.7320, 18.3081)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4177 #6A7741
analogous
#414F77 #4E4177 #694177
triadic
#4E4177 #774E41 #41774E
tetradic
#4E4177 #77414F #6A7741 #417769
square
#4E4177 #77414F #6A7741 #417769
split-complementary
#4E4177 #776941 #4F7741
monochromatic
#1A1628 #342B4F #4E4177 #68579F #8A7BB7

Accessibility & contrast

On white

8.95
#4E4177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E4177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4177
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4177#FFFFFF#000000##FFFFFF
##4E41771.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A79
Deuteranopia (green-blind)
#324876
Tritanopia (blue-blind)
#444B56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4177;
/* rgb */ color: rgb(78, 65, 119);
/* oklch */ color: oklch(41.4% 0.089 293.2);
Tailwind
colors: {
  custom: {
    50: '#81759e',
    500: '#4e4177',
    950: '#000000',
  },
}
SCSS
$custom: #4e4177;
$custom-light: #81759e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4177",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 119
  },
  "hsl": {
    "h": 254.444,
    "s": 29.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41438,
    "c": 0.08872,
    "h": 293.2
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#4E4177
secondary
#96A272
accent
#C662AE
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4177

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

Preview Lab → · Contrast checker → · Palette generator →

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