#4E398F#4E398F

#4E398F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.6% C 0.136 H 290.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4E398F
RGBrgb(78, 57, 143)
HSLhsl(255, 43%, 39%)
HSVhsv(255, 60%, 56%)
CMYKcmyk(45.5%, 60.1%, 0%, 43.9%)
CIE-LABlab(30.71, 31.21, -44.71)
CIE-LCHlch(30.71, 54.52, 304.92°)
OKLaboklab(41.58% 0.0476 -0.1275)
OKLCHoklch(41.58% 0.136 290.5)
XYZxyz(9.5616, 6.5288, 26.7377)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E398F #7A8F39
analogous
#394F8F #4E398F #79398F
triadic
#4E398F #8F4E39 #398F4E
tetradic
#4E398F #8F394F #7A8F39 #398F79
square
#4E398F #8F394F #7A8F39 #398F79
split-complementary
#4E398F #8F7939 #4F8F39
monochromatic
#1E1637 #362863 #4E398F #674DB8 #8D79CA

Accessibility & contrast

On white

9.11
#4E398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E398F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E398F#FFFFFF#000000##FFFFFF
##4E398F1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#02468D
Tritanopia (blue-blind)
#3B4C5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e398f;
/* rgb */ color: rgb(78, 57, 143);
/* oklch */ color: oklch(41.6% 0.136 290.5);
Tailwind
colors: {
  custom: {
    50: '#8570b0',
    500: '#4e398f',
    950: '#000000',
  },
}
SCSS
$custom: #4e398f;
$custom-light: #8570b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e398f",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 254.651,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.13613,
    "h": 290.5
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#4E398F
secondary
#A3B371
accent
#D355B4
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E398F

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

Preview Lab → · Contrast checker → · Palette generator →

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