#4E349E#4E349E

#4E349E is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.163 H 288.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4E349E
RGBrgb(78, 52, 158)
HSLhsl(255, 50%, 41%)
HSVhsv(255, 67%, 62%)
CMYKcmyk(50.6%, 67.1%, 0%, 38%)
CIE-LABlab(30.74, 38.73, -53.81)
CIE-LCHlch(30.74, 66.30, 305.74°)
OKLaboklab(41.97% 0.052 -0.1543)
OKLCHoklch(41.97% 0.163 288.6)
XYZxyz(10.5396, 6.5438, 33.0489)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E349E #849E34
analogous
#344F9E #4E349E #83349E
triadic
#4E349E #9E4E34 #349E4E
tetradic
#4E349E #9E344F #849E34 #349E83
square
#4E349E #9E344F #849E34 #349E83
split-complementary
#4E349E #9E8334 #4F9E34
monochromatic
#211642 #372570 #4E349E #694BC4 #8F79D3

Accessibility & contrast

On white

9.10
#4E349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E349E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E349E#FFFFFF#000000##FFFFFF
##4E349E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#324E64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e349e;
/* rgb */ color: rgb(78, 52, 158);
/* oklch */ color: oklch(42.0% 0.163 288.6);
Tailwind
colors: {
  custom: {
    50: '#876dbb',
    500: '#4e349e',
    950: '#000000',
  },
}
SCSS
$custom: #4e349e;
$custom-light: #876dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e349e",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 254.717,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.16284,
    "h": 288.6
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#4E349E
secondary
#AABC72
accent
#DA4EB8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E349E

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

Preview Lab → · Contrast checker → · Palette generator →

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