#4E349F#4E349F

#4E349F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.164 H 288.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4E349F
RGBrgb(78, 52, 159)
HSLhsl(255, 51%, 41%)
HSVhsv(255, 67%, 62%)
CMYKcmyk(50.9%, 67.3%, 0%, 37.6%)
CIE-LABlab(30.83, 39.03, -54.29)
CIE-LCHlch(30.83, 66.86, 305.71°)
OKLaboklab(42.05% 0.0519 -0.1557)
OKLCHoklch(42.05% 0.164 288.4)
XYZxyz(10.6261, 6.5784, 33.5040)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E349F #859F34
analogous
#34509F #4E349F #84349F
triadic
#4E349F #9F4E34 #349F4E
tetradic
#4E349F #9F3450 #859F34 #349F84
square
#4E349F #9F3450 #859F34 #349F84
split-complementary
#4E349F #9F8434 #509F34
monochromatic
#211643 #372571 #4E349F #694CC4 #907AD3

Accessibility & contrast

On white

9.07
#4E349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4E349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E349F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E349F#FFFFFF#000000##FFFFFF
##4E349F1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#314E65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e349f;
/* rgb */ color: rgb(78, 52, 159);
/* oklch */ color: oklch(42.1% 0.164 288.4);
Tailwind
colors: {
  custom: {
    50: '#876dbc',
    500: '#4e349f',
    950: '#000000',
  },
}
SCSS
$custom: #4e349f;
$custom-light: #876dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e349f",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 254.579,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42051,
    "c": 0.16411,
    "h": 288.4
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E349F

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

Preview Lab → · Contrast checker → · Palette generator →

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