#4E4074#4E4074

#4E4074 is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.1% C 0.086 H 294.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4E4074
RGBrgb(78, 64, 116)
HSLhsl(256, 29%, 35%)
HSVhsv(256, 45%, 45%)
CMYKcmyk(32.8%, 44.8%, 0%, 54.5%)
CIE-LABlab(30.75, 18.75, -27.83)
CIE-LCHlch(30.75, 33.56, 303.97°)
OKLaboklab(41.05% 0.0359 -0.078)
OKLCHoklch(41.05% 0.086 294.7)
XYZxyz(8.1269, 6.5473, 17.3552)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4074 #667440
analogous
#404C74 #4E4074 #684074
triadic
#4E4074 #744E40 #40744E
tetradic
#4E4074 #74404C #667440 #407468
square
#4E4074 #74404C #667440 #407468
split-complementary
#4E4074 #746840 #4C7440
monochromatic
#191425 #332A4D #4E4074 #69569B #8979B5

Accessibility & contrast

On white

9.09
#4E4074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E4074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4074
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4074#FFFFFF#000000##FFFFFF
##4E40741.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#324873
Tritanopia (blue-blind)
#464954
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4074;
/* rgb */ color: rgb(78, 64, 116);
/* oklch */ color: oklch(41.1% 0.086 294.7);
Tailwind
colors: {
  custom: {
    50: '#81759c',
    500: '#4e4074',
    950: '#000000',
  },
}
SCSS
$custom: #4e4074;
$custom-light: #81759c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4074",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 256.154,
    "s": 28.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41054,
    "c": 0.08592,
    "h": 294.7
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#4E4074
secondary
#93A070
accent
#C563AB
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4074

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

Preview Lab → · Contrast checker → · Palette generator →

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