#4E388F#4E388F

#4E388F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.138 H 290.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4E388F
RGBrgb(78, 56, 143)
HSLhsl(255, 44%, 39%)
HSVhsv(255, 61%, 56%)
CMYKcmyk(45.5%, 60.8%, 0%, 43.9%)
CIE-LABlab(30.47, 31.82, -45.09)
CIE-LCHlch(30.47, 55.19, 305.21°)
OKLaboklab(41.4% 0.0489 -0.1286)
OKLCHoklch(41.4% 0.138 290.8)
XYZxyz(9.5126, 6.4309, 26.7214)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E388F #798F38
analogous
#384E8F #4E388F #7A388F
triadic
#4E388F #8F4E38 #388F4E
tetradic
#4E388F #8F384E #798F38 #388F7A
square
#4E388F #8F384E #798F38 #388F7A
split-complementary
#4E388F #8F7A38 #4E8F38
monochromatic
#1E1637 #362763 #4E388F #674BB9 #8C77CA

Accessibility & contrast

On white

9.19
#4E388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E388F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E388F#FFFFFF#000000##FFFFFF
##4E388F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#3B4C5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e388f;
/* rgb */ color: rgb(78, 56, 143);
/* oklch */ color: oklch(41.4% 0.138 290.8);
Tailwind
colors: {
  custom: {
    50: '#856fb0',
    500: '#4e388f',
    950: '#000000',
  },
}
SCSS
$custom: #4e388f;
$custom-light: #856fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e388f",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 255.172,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.1376,
    "h": 290.8
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#4E388F
secondary
#A2B370
accent
#D354B3
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E388F

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

Preview Lab → · Contrast checker → · Palette generator →

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