#4E4276#4E4276

#4E4276 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.6% C 0.085 H 292.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4E4276
RGBrgb(78, 66, 118)
HSLhsl(254, 28%, 36%)
HSVhsv(254, 44%, 46%)
CMYKcmyk(33.9%, 44.1%, 0%, 53.7%)
CIE-LABlab(31.40, 18.03, -28.06)
CIE-LCHlch(31.40, 33.36, 302.72°)
OKLaboklab(41.58% 0.0333 -0.0787)
OKLCHoklch(41.58% 0.085 292.9)
XYZxyz(8.3593, 6.8240, 18.0128)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4276 #6A7642
analogous
#425076 #4E4276 #684276
triadic
#4E4276 #764E42 #42764E
tetradic
#4E4276 #764250 #6A7642 #427668
square
#4E4276 #764250 #6A7642 #427668
split-complementary
#4E4276 #766842 #507642
monochromatic
#1A1628 #342C4F #4E4276 #68589D #8A7CB6

Accessibility & contrast

On white

8.88
#4E4276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E4276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4276
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4276#FFFFFF#000000##FFFFFF
##4E42761.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#454C56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4276;
/* rgb */ color: rgb(78, 66, 118);
/* oklch */ color: oklch(41.6% 0.085 292.9);
Tailwind
colors: {
  custom: {
    50: '#81769e',
    500: '#4e4276',
    950: '#000000',
  },
}
SCSS
$custom: #4e4276;
$custom-light: #81769e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4276",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 118
  },
  "hsl": {
    "h": 253.846,
    "s": 28.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.08547,
    "h": 292.9
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#4E4276
secondary
#96A173
accent
#C563AE
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4276

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

Preview Lab → · Contrast checker → · Palette generator →

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