#4E398E#4E398E

#4E398E is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.5% C 0.135 H 290.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4E398E
RGBrgb(78, 57, 142)
HSLhsl(255, 43%, 39%)
HSVhsv(255, 60%, 56%)
CMYKcmyk(45.1%, 59.9%, 0%, 44.3%)
CIE-LABlab(30.64, 30.91, -44.21)
CIE-LCHlch(30.64, 53.94, 304.96°)
OKLaboklab(41.5% 0.0477 -0.1261)
OKLCHoklch(41.5% 0.135 290.7)
XYZxyz(9.4861, 6.4986, 26.3405)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E398E #798E39
analogous
#394E8E #4E398E #79398E
triadic
#4E398E #8E4E39 #398E4E
tetradic
#4E398E #8E394E #798E39 #398E79
square
#4E398E #8E394E #798E39 #398E79
split-complementary
#4E398E #8E7939 #4E8E39
monochromatic
#1E1637 #362762 #4E398E #674DB7 #8C78C9

Accessibility & contrast

On white

9.13
#4E398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E398E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E398E#FFFFFF#000000##FFFFFF
##4E398E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#05468C
Tritanopia (blue-blind)
#3B4C5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e398e;
/* rgb */ color: rgb(78, 57, 142);
/* oklch */ color: oklch(41.5% 0.135 290.7);
Tailwind
colors: {
  custom: {
    50: '#8470b0',
    500: '#4e398e',
    950: '#000000',
  },
}
SCSS
$custom: #4e398e;
$custom-light: #8470b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e398e",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 254.824,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.415,
    "c": 0.13477,
    "h": 290.7
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#4E398E
secondary
#A2B271
accent
#D255B4
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E398E

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

Preview Lab → · Contrast checker → · Palette generator →

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