#4E3376#4E3376

#4E3376 is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.7% C 0.111 H 299.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4E3376
RGBrgb(78, 51, 118)
HSLhsl(264, 40%, 33%)
HSVhsv(264, 57%, 46%)
CMYKcmyk(33.9%, 56.8%, 0%, 53.7%)
CIE-LABlab(27.56, 27.60, -34.17)
CIE-LCHlch(27.56, 43.92, 308.93°)
OKLaboklab(38.71% 0.0553 -0.0966)
OKLCHoklch(38.71% 0.111 299.8)
XYZxyz(7.5949, 5.2953, 17.7580)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3376 #5B7633
analogous
#333976 #4E3376 #6F3376
triadic
#4E3376 #764E33 #33764E
tetradic
#4E3376 #763339 #5B7633 #33766F
square
#4E3376 #763339 #5B7633 #33766F
split-complementary
#4E3376 #766F33 #397633
monochromatic
#160E21 #32214B #4E3376 #6A45A1 #8966BD

Accessibility & contrast

On white

10.20
#4E3376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E3376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3376
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3376#FFFFFF#000000##FFFFFF
##4E33761.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184178
Deuteranopia (green-blind)
#214174
Tritanopia (blue-blind)
#46404F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3376;
/* rgb */ color: rgb(78, 51, 118);
/* oklch */ color: oklch(38.7% 0.111 299.8);
Tailwind
colors: {
  custom: {
    50: '#826b9e',
    500: '#4e3376',
    950: '#000000',
  },
}
SCSS
$custom: #4e3376;
$custom-light: #826b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3376",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 118
  },
  "hsl": {
    "h": 264.179,
    "s": 39.645,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38706,
    "c": 0.11129,
    "h": 299.8
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#4E3376
secondary
#89A560
accent
#D0589F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3376

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

Preview Lab → · Contrast checker → · Palette generator →

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