#4E396F#4E396F

#4E396F is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.4% C 0.091 H 300.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4E396F
RGBrgb(78, 57, 111)
HSLhsl(263, 32%, 33%)
HSVhsv(263, 49%, 44%)
CMYKcmyk(29.7%, 48.6%, 0%, 56.5%)
CIE-LABlab(28.63, 21.85, -28.03)
CIE-LCHlch(28.63, 35.54, 307.95°)
OKLaboklab(39.36% 0.0458 -0.0786)
OKLCHoklch(39.36% 0.091 300.2)
XYZxyz(7.4736, 5.6936, 15.7411)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E396F #5A6F39
analogous
#393F6F #4E396F #69396F
triadic
#4E396F #6F4E39 #396F4E
tetradic
#4E396F #6F393F #5A6F39 #396F69
square
#4E396F #6F393F #5A6F39 #396F69
split-complementary
#4E396F #6F6939 #3F6F39
monochromatic
#150F1E #322447 #4E396F #6A4E97 #896EB4

Accessibility & contrast

On white

9.82
#4E396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E396F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E396F#FFFFFF#000000##FFFFFF
##4E396F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294371
Deuteranopia (green-blind)
#2E436E
Tritanopia (blue-blind)
#48434E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e396f;
/* rgb */ color: rgb(78, 57, 111);
/* oklch */ color: oklch(39.4% 0.091 300.2);
Tailwind
colors: {
  custom: {
    50: '#817098',
    500: '#4e396f',
    950: '#000000',
  },
}
SCSS
$custom: #4e396f;
$custom-light: #817098;
$custom-dark: #000000;
JSON
{
  "hex": "#4e396f",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 263.333,
    "s": 32.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39361,
    "c": 0.09096,
    "h": 300.2
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#4E396F
secondary
#889E66
accent
#C85FA0
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E396F

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

Preview Lab → · Contrast checker → · Palette generator →

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