#4E399C#4E399C

#4E399C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.154 H 287.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4E399C
RGBrgb(78, 57, 156)
HSLhsl(253, 46%, 42%)
HSVhsv(253, 63%, 61%)
CMYKcmyk(50%, 63.5%, 0%, 38.8%)
CIE-LABlab(31.68, 35.17, -51.07)
CIE-LCHlch(31.68, 62.01, 304.55°)
OKLaboklab(42.6% 0.047 -0.1462)
OKLCHoklch(42.6% 0.154 287.8)
XYZxyz(10.6040, 6.9458, 32.2280)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E399C #879C39
analogous
#39569C #4E399C #80399C
triadic
#4E399C #9C4E39 #399C4E
tetradic
#4E399C #9C3956 #879C39 #399C80
square
#4E399C #9C3956 #879C39 #399C80
split-complementary
#4E399C #9C8039 #569C39
monochromatic
#211842 #38296F #4E399C #6A52C0 #907FD0

Accessibility & contrast

On white

8.79
#4E399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E399C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E399C
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E399C#FFFFFF#000000##FFFFFF
##4E399C1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#335065
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e399c;
/* rgb */ color: rgb(78, 57, 156);
/* oklch */ color: oklch(42.6% 0.154 287.8);
Tailwind
colors: {
  custom: {
    50: '#8670ba',
    500: '#4e399c',
    950: '#000000',
  },
}
SCSS
$custom: #4e399c;
$custom-light: #8670ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e399c",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 252.727,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.15359,
    "h": 287.8
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#4E399C
secondary
#ACBA77
accent
#D652BA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E399C

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

Preview Lab → · Contrast checker → · Palette generator →

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