#4E3476#4E3476

#4E3476 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.9% C 0.110 H 299.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4E3476
RGBrgb(78, 52, 118)
HSLhsl(264, 39%, 33%)
HSVhsv(264, 56%, 46%)
CMYKcmyk(33.9%, 55.9%, 0%, 53.7%)
CIE-LABlab(27.80, 26.98, -33.78)
CIE-LCHlch(27.80, 43.23, 308.61°)
OKLaboklab(38.88% 0.0539 -0.0954)
OKLCHoklch(38.88% 0.11 299.5)
XYZxyz(7.6391, 5.3836, 17.7727)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3476 #5C7634
analogous
#343B76 #4E3476 #6F3476
triadic
#4E3476 #764E34 #34764E
tetradic
#4E3476 #76343B #5C7634 #34766F
square
#4E3476 #76343B #5C7634 #34766F
split-complementary
#4E3476 #766F34 #3B7634
monochromatic
#160F21 #32214C #4E3476 #6A47A0 #8968BC

Accessibility & contrast

On white

10.11
#4E3476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E3476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3476
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3476#FFFFFF#000000##FFFFFF
##4E34761.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4278
Deuteranopia (green-blind)
#224174
Tritanopia (blue-blind)
#46414F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3476;
/* rgb */ color: rgb(78, 52, 118);
/* oklch */ color: oklch(38.9% 0.110 299.5);
Tailwind
colors: {
  custom: {
    50: '#826c9e',
    500: '#4e3476',
    950: '#000000',
  },
}
SCSS
$custom: #4e3476;
$custom-light: #826c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3476",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 118
  },
  "hsl": {
    "h": 263.636,
    "s": 38.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38884,
    "c": 0.1096,
    "h": 299.5
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#4E3476
secondary
#8AA561
accent
#CF59A0
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3476

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

Preview Lab → · Contrast checker → · Palette generator →

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