#4E3076#4E3076

#4E3076 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.2% C 0.116 H 300.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#4E3076
RGBrgb(78, 48, 118)
HSLhsl(266, 42%, 33%)
HSVhsv(266, 59%, 46%)
CMYKcmyk(33.9%, 59.3%, 0%, 53.7%)
CIE-LABlab(26.85, 29.44, -35.30)
CIE-LCHlch(26.85, 45.97, 309.83°)
OKLaboklab(38.19% 0.0595 -0.0999)
OKLCHoklch(38.19% 0.116 300.8)
XYZxyz(7.4681, 5.0416, 17.7157)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3076 #587630
analogous
#303576 #4E3076 #713076
triadic
#4E3076 #764E30 #30764E
tetradic
#4E3076 #763035 #587630 #307671
square
#4E3076 #763035 #587630 #307671
split-complementary
#4E3076 #767130 #357630
monochromatic
#140D1F #311E4A #4E3076 #6B42A2 #8A61BF

Accessibility & contrast

On white

10.46
#4E3076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E3076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3076
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3076#FFFFFF#000000##FFFFFF
##4E30761.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113F78
Deuteranopia (green-blind)
#1D3F74
Tritanopia (blue-blind)
#463E4E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3076;
/* rgb */ color: rgb(78, 48, 118);
/* oklch */ color: oklch(38.2% 0.116 300.8);
Tailwind
colors: {
  custom: {
    50: '#82699e',
    500: '#4e3076',
    950: '#000000',
  },
}
SCSS
$custom: #4e3076;
$custom-light: #82699e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3076",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 118
  },
  "hsl": {
    "h": 265.714,
    "s": 42.169,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38185,
    "c": 0.11628,
    "h": 300.8
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#4E3076
secondary
#86A65C
accent
#D2569D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3076

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

Preview Lab → · Contrast checker → · Palette generator →

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