#4E4477#4E4477

#4E4477 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.1% C 0.084 H 291.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4E4477
RGBrgb(78, 68, 119)
HSLhsl(252, 27%, 37%)
HSVhsv(252, 43%, 47%)
CMYKcmyk(34.5%, 42.9%, 0%, 53.3%)
CIE-LABlab(32.00, 17.03, -27.75)
CIE-LCHlch(32.00, 32.55, 301.53°)
OKLaboklab(42.05% 0.0305 -0.0778)
OKLCHoklch(42.05% 0.084 291.4)
XYZxyz(8.5379, 7.0857, 18.3670)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4477 #6D7744
analogous
#445477 #4E4477 #684477
triadic
#4E4477 #774E44 #44774E
tetradic
#4E4477 #774454 #6D7744 #447768
square
#4E4477 #774454 #6D7744 #447768
split-complementary
#4E4477 #776844 #547744
monochromatic
#1B1729 #342E50 #4E4477 #685A9E #8A7FB6

Accessibility & contrast

On white

8.69
#4E4477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E4477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4477
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4477#FFFFFF#000000##FFFFFF
##4E44771.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344C79
Deuteranopia (green-blind)
#354A76
Tritanopia (blue-blind)
#444D57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4477;
/* rgb */ color: rgb(78, 68, 119);
/* oklch */ color: oklch(42.1% 0.084 291.4);
Tailwind
colors: {
  custom: {
    50: '#81789e',
    500: '#4e4477',
    950: '#000000',
  },
}
SCSS
$custom: #4e4477;
$custom-light: #81789e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4477",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 119
  },
  "hsl": {
    "h": 251.765,
    "s": 27.273,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.08356,
    "h": 291.4
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#4E4477
secondary
#99A175
accent
#C464B1
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4477

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

Preview Lab → · Contrast checker → · Palette generator →

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