#4E369F#4E369F

#4E369F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.162 H 288.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4E369F
RGBrgb(78, 54, 159)
HSLhsl(254, 49%, 42%)
HSVhsv(254, 66%, 62%)
CMYKcmyk(50.9%, 66%, 0%, 37.6%)
CIE-LABlab(31.26, 37.87, -53.59)
CIE-LCHlch(31.26, 65.62, 305.25°)
OKLaboklab(42.36% 0.0499 -0.1536)
OKLCHoklch(42.36% 0.162 288)
XYZxyz(10.7172, 6.7608, 33.5344)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E369F #879F36
analogous
#36539F #4E369F #83369F
triadic
#4E369F #9F4E36 #369F4E
tetradic
#4E369F #9F3653 #879F36 #369F83
square
#4E369F #9F3653 #879F36 #369F83
split-complementary
#4E369F #9F8336 #539F36
monochromatic
#211744 #382671 #4E369F #6A4FC3 #907DD3

Accessibility & contrast

On white

8.93
#4E369F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E369F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E369F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E369F#FFFFFF#000000##FFFFFF
##4E369F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#315065
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e369f;
/* rgb */ color: rgb(78, 54, 159);
/* oklch */ color: oklch(42.4% 0.162 288.0);
Tailwind
colors: {
  custom: {
    50: '#876ebc',
    500: '#4e369f',
    950: '#000000',
  },
}
SCSS
$custom: #4e369f;
$custom-light: #876ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e369f",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 159
  },
  "hsl": {
    "h": 253.714,
    "s": 49.296,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.16152,
    "h": 288
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#4E369F
secondary
#ACBC75
accent
#D94FB9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E369F

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

Preview Lab → · Contrast checker → · Palette generator →

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