#4E3C9D#4E3C9D

#4E3C9D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.2% C 0.151 H 286.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4E3C9D
RGBrgb(78, 60, 157)
HSLhsl(251, 45%, 43%)
HSVhsv(251, 62%, 62%)
CMYKcmyk(50.3%, 61.8%, 0%, 38.4%)
CIE-LABlab(32.45, 33.66, -50.44)
CIE-LCHlch(32.45, 60.64, 303.72°)
OKLaboklab(43.18% 0.0436 -0.1444)
OKLCHoklch(43.18% 0.151 286.8)
XYZxyz(10.8418, 7.2852, 32.7267)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3C9D #8B9D3C
analogous
#3C5B9D #4E3C9D #7E3C9D
triadic
#4E3C9D #9D4E3C #3C9D4E
tetradic
#4E3C9D #9D3C5B #8B9D3C #3C9D7E
square
#4E3C9D #9D3C5B #8B9D3C #3C9D7E
split-complementary
#4E3C9D #9D7E3C #5B9D3C
monochromatic
#221A44 #382B71 #4E3C9D #6B57BF #9284D0

Accessibility & contrast

On white

8.55
#4E3C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E3C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3C9D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3C9D#FFFFFF#000000##FFFFFF
##4E3C9D1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#325366
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e3c9d;
/* rgb */ color: rgb(78, 60, 157);
/* oklch */ color: oklch(43.2% 0.151 286.8);
Tailwind
colors: {
  custom: {
    50: '#8672bb',
    500: '#4e3c9d',
    950: '#000000',
  },
}
SCSS
$custom: #4e3c9d;
$custom-light: #8672bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3c9d",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 251.134,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43179,
    "c": 0.15081,
    "h": 286.8
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#4E3C9D
secondary
#AEBA7B
accent
#D453BC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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