#4E349C#4E349C

#4E349C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.160 H 289.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4E349C
RGBrgb(78, 52, 156)
HSLhsl(255, 50%, 41%)
HSVhsv(255, 67%, 61%)
CMYKcmyk(50%, 66.7%, 0%, 38.8%)
CIE-LABlab(30.58, 38.13, -52.87)
CIE-LCHlch(30.58, 65.18, 305.80°)
OKLaboklab(41.8% 0.0523 -0.1515)
OKLCHoklch(41.8% 0.16 289)
XYZxyz(10.3689, 6.4755, 32.1496)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E349C #829C34
analogous
#344E9C #4E349C #82349C
triadic
#4E349C #9C4E34 #349C4E
tetradic
#4E349C #9C344E #829C34 #349C82
square
#4E349C #9C344E #829C34 #349C82
split-complementary
#4E349C #9C8234 #4E9C34
monochromatic
#201540 #37256E #4E349C #684AC3 #8F78D2

Accessibility & contrast

On white

9.15
#4E349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E349C
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E349C#FFFFFF#000000##FFFFFF
##4E349C1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#334D63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e349c;
/* rgb */ color: rgb(78, 52, 156);
/* oklch */ color: oklch(41.8% 0.160 289.0);
Tailwind
colors: {
  custom: {
    50: '#876dba',
    500: '#4e349c',
    950: '#000000',
  },
}
SCSS
$custom: #4e349c;
$custom-light: #876dba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e349c",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 255,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41798,
    "c": 0.16028,
    "h": 289
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#4E349C
secondary
#A8BB71
accent
#DA4EB7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E349C

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

Preview Lab → · Contrast checker → · Palette generator →

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