#4E4673#4E4673

#4E4673 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.2% C 0.074 H 291.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4E4673
RGBrgb(78, 70, 115)
HSLhsl(251, 24%, 36%)
HSVhsv(251, 39%, 45%)
CMYKcmyk(32.2%, 39.1%, 0%, 54.9%)
CIE-LABlab(32.34, 14.57, -24.70)
CIE-LCHlch(32.34, 28.68, 300.54°)
OKLaboklab(42.24% 0.0266 -0.069)
OKLCHoklch(42.24% 0.074 291.1)
XYZxyz(8.4258, 7.2377, 17.1694)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4673 #6B7346
analogous
#465573 #4E4673 #654673
triadic
#4E4673 #734E46 #46734E
tetradic
#4E4673 #734655 #6B7346 #467365
square
#4E4673 #734655 #6B7346 #467365
split-complementary
#4E4673 #736546 #557346
monochromatic
#1A1827 #342F4D #4E4673 #685D99 #8A81B2

Accessibility & contrast

On white

8.58
#4E4673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E4673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4673
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4673#FFFFFF#000000##FFFFFF
##4E46731.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D75
Deuteranopia (green-blind)
#3A4B72
Tritanopia (blue-blind)
#454E57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4673;
/* rgb */ color: rgb(78, 70, 115);
/* oklch */ color: oklch(42.2% 0.074 291.1);
Tailwind
colors: {
  custom: {
    50: '#81799b',
    500: '#4e4673',
    950: '#000000',
  },
}
SCSS
$custom: #4e4673;
$custom-light: #81799b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4673",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 115
  },
  "hsl": {
    "h": 250.667,
    "s": 24.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42244,
    "c": 0.07391,
    "h": 291.1
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#4E4673
secondary
#979E77
accent
#C167B1
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4673

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

Preview Lab → · Contrast checker → · Palette generator →

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