#4E3576#4E3576

#4E3576 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.1% C 0.108 H 299.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4E3576
RGBrgb(78, 53, 118)
HSLhsl(263, 38%, 34%)
HSVhsv(263, 55%, 46%)
CMYKcmyk(33.9%, 55.1%, 0%, 53.7%)
CIE-LABlab(28.04, 26.36, -33.39)
CIE-LCHlch(28.04, 42.54, 308.28°)
OKLaboklab(39.06% 0.0525 -0.0943)
OKLCHoklch(39.06% 0.108 299.1)
XYZxyz(7.6842, 5.4738, 17.7877)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3576 #5D7635
analogous
#353C76 #4E3576 #6E3576
triadic
#4E3576 #764E35 #35764E
tetradic
#4E3576 #76353C #5D7635 #35766E
square
#4E3576 #76353C #5D7635 #35766E
split-complementary
#4E3576 #766E35 #3C7635
monochromatic
#160F22 #32224C #4E3576 #6A48A0 #896ABC

Accessibility & contrast

On white

10.02
#4E3576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E3576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3576
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3576#FFFFFF#000000##FFFFFF
##4E35761.0010.022.0910.02
#FFFFFF10.021.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4278
Deuteranopia (green-blind)
#244274
Tritanopia (blue-blind)
#464250
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3576;
/* rgb */ color: rgb(78, 53, 118);
/* oklch */ color: oklch(39.1% 0.108 299.1);
Tailwind
colors: {
  custom: {
    50: '#826d9e',
    500: '#4e3576',
    950: '#000000',
  },
}
SCSS
$custom: #4e3576;
$custom-light: #826d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3576",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 118
  },
  "hsl": {
    "h": 263.077,
    "s": 38.012,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39064,
    "c": 0.10791,
    "h": 299.1
  },
  "luminance": 0.05474
}

Semantic roles & 50–950 ramp

primary
#4E3576
secondary
#8BA463
accent
#CE5AA1
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3576

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

Preview Lab → · Contrast checker → · Palette generator →

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