#4E3167#4E3167

#4E3167 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.4% C 0.094 H 307.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#4E3167
RGBrgb(78, 49, 103)
HSLhsl(272, 36%, 30%)
HSVhsv(272, 52%, 40%)
CMYKcmyk(24.3%, 52.4%, 0%, 59.6%)
CIE-LABlab(26.14, 24.76, -26.83)
CIE-LCHlch(26.14, 36.51, 312.71°)
OKLaboklab(37.36% 0.057 -0.0751)
OKLCHoklch(37.36% 0.094 307.2)
XYZxyz(6.6879, 4.7957, 13.4027)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3167 #4A6731
analogous
#333167 #4E3167 #673165
triadic
#4E3167 #674E31 #31674E
tetradic
#4E3167 #673331 #4A6731 #316567
square
#4E3167 #673331 #4A6731 #316567
split-complementary
#4E3167 #656731 #316733
monochromatic
#100A15 #2F1D3E #4E3167 #6D4590 #8C5FB3

Accessibility & contrast

On white

10.72
#4E3167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4E3167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3167
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3167#FFFFFF#000000##FFFFFF
##4E31671.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D69
Deuteranopia (green-blind)
#2A3E66
Tritanopia (blue-blind)
#4A3A47
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e3167;
/* rgb */ color: rgb(78, 49, 103);
/* oklch */ color: oklch(37.4% 0.094 307.2);
Tailwind
colors: {
  custom: {
    50: '#816a92',
    500: '#4e3167',
    950: '#000000',
  },
}
SCSS
$custom: #4e3167;
$custom-light: #816a92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3167",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 272.222,
    "s": 35.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37356,
    "c": 0.0943,
    "h": 307.2
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#4E3167
secondary
#78985C
accent
#CC5C90
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E3167

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

Preview Lab → · Contrast checker → · Palette generator →

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