#4E4573#4E4573

#4E4573 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.0% C 0.076 H 291.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4E4573
RGBrgb(78, 69, 115)
HSLhsl(252, 25%, 36%)
HSVhsv(252, 40%, 45%)
CMYKcmyk(32.2%, 40%, 0%, 54.9%)
CIE-LABlab(32.06, 15.22, -25.14)
CIE-LCHlch(32.06, 29.39, 301.19°)
OKLaboklab(42.03% 0.0281 -0.0702)
OKLCHoklch(42.03% 0.076 291.8)
XYZxyz(8.3637, 7.1136, 17.1487)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4573 #6A7345
analogous
#455373 #4E4573 #654573
triadic
#4E4573 #734E45 #45734E
tetradic
#4E4573 #734553 #6A7345 #457365
square
#4E4573 #734553 #6A7345 #457365
split-complementary
#4E4573 #736545 #537345
monochromatic
#1A1726 #342E4D #4E4573 #685C99 #8A80B3

Accessibility & contrast

On white

8.67
#4E4573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4573
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4573#FFFFFF#000000##FFFFFF
##4E45731.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C75
Deuteranopia (green-blind)
#384B72
Tritanopia (blue-blind)
#464D56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4573;
/* rgb */ color: rgb(78, 69, 115);
/* oklch */ color: oklch(42.0% 0.076 291.8);
Tailwind
colors: {
  custom: {
    50: '#81789b',
    500: '#4e4573',
    950: '#000000',
  },
}
SCSS
$custom: #4e4573;
$custom-light: #81789b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4573",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 115
  },
  "hsl": {
    "h": 251.739,
    "s": 25,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.07564,
    "h": 291.8
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#4E4573
secondary
#969E75
accent
#C166B0
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4573

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

Preview Lab → · Contrast checker → · Palette generator →

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