#4E3776#4E3776

#4E3776 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.4% C 0.105 H 298.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4E3776
RGBrgb(78, 55, 118)
HSLhsl(262, 36%, 34%)
HSVhsv(262, 53%, 46%)
CMYKcmyk(33.9%, 53.4%, 0%, 53.7%)
CIE-LABlab(28.54, 25.10, -32.61)
CIE-LCHlch(28.54, 41.15, 307.58°)
OKLaboklab(39.43% 0.0496 -0.092)
OKLCHoklch(39.43% 0.105 298.3)
XYZxyz(7.7773, 5.6600, 17.8188)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3776 #5F7637
analogous
#374076 #4E3776 #6E3776
triadic
#4E3776 #764E37 #37764E
tetradic
#4E3776 #763740 #5F7637 #37766E
square
#4E3776 #763740 #5F7637 #37766E
split-complementary
#4E3776 #766E37 #407637
monochromatic
#171023 #32244C #4E3776 #6A4AA0 #896DBB

Accessibility & contrast

On white

9.85
#4E3776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E3776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3776
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3776#FFFFFF#000000##FFFFFF
##4E37761.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204378
Deuteranopia (green-blind)
#264375
Tritanopia (blue-blind)
#454351
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3776;
/* rgb */ color: rgb(78, 55, 118);
/* oklch */ color: oklch(39.4% 0.105 298.3);
Tailwind
colors: {
  custom: {
    50: '#826e9e',
    500: '#4e3776',
    950: '#000000',
  },
}
SCSS
$custom: #4e3776;
$custom-light: #826e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3776",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 118
  },
  "hsl": {
    "h": 261.905,
    "s": 36.416,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.10451,
    "h": 298.3
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#4E3776
secondary
#8DA465
accent
#CC5BA3
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3776

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

Preview Lab → · Contrast checker → · Palette generator →

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