#4E349B#4E349B

#4E349B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.159 H 289.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4E349B
RGBrgb(78, 52, 155)
HSLhsl(255, 50%, 41%)
HSVhsv(255, 66%, 61%)
CMYKcmyk(49.7%, 66.5%, 0%, 39.2%)
CIE-LABlab(30.50, 37.83, -52.39)
CIE-LCHlch(30.50, 64.62, 305.83°)
OKLaboklab(41.71% 0.0524 -0.1501)
OKLCHoklch(41.71% 0.159 289.2)
XYZxyz(10.2846, 6.4418, 31.7055)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E349B #819B34
analogous
#344D9B #4E349B #81349B
triadic
#4E349B #9B4E34 #349B4E
tetradic
#4E349B #9B344D #819B34 #349B81
square
#4E349B #9B344D #819B34 #349B81
split-complementary
#4E349B #9B8134 #4D9B34
monochromatic
#20153F #37256D #4E349B #684AC2 #8E78D2

Accessibility & contrast

On white

9.18
#4E349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E349B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E349B#FFFFFF#000000##FFFFFF
##4E349B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#344D63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e349b;
/* rgb */ color: rgb(78, 52, 155);
/* oklch */ color: oklch(41.7% 0.159 289.2);
Tailwind
colors: {
  custom: {
    50: '#876db9',
    500: '#4e349b',
    950: '#000000',
  },
}
SCSS
$custom: #4e349b;
$custom-light: #876db9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e349b",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 255.146,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.159,
    "h": 289.2
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#4E349B
secondary
#A8BA71
accent
#D94FB6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E349B

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

Preview Lab → · Contrast checker → · Palette generator →

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