#4E396D#4E396D

#4E396D is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.2% C 0.088 H 301.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4E396D
RGBrgb(78, 57, 109)
HSLhsl(264, 31%, 33%)
HSVhsv(264, 48%, 43%)
CMYKcmyk(28.4%, 47.7%, 0%, 57.3%)
CIE-LABlab(28.51, 21.30, -26.93)
CIE-LCHlch(28.51, 34.34, 308.34°)
OKLaboklab(39.24% 0.0455 -0.0754)
OKLCHoklch(39.24% 0.088 301.1)
XYZxyz(7.3647, 5.6501, 15.1676)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E396D #586D39
analogous
#393E6D #4E396D #68396D
triadic
#4E396D #6D4E39 #396D4E
tetradic
#4E396D #6D393E #586D39 #396D68
square
#4E396D #6D393E #586D39 #396D68
split-complementary
#4E396D #6D6839 #3E6D39
monochromatic
#140F1D #312445 #4E396D #6B4E95 #8A6DB3

Accessibility & contrast

On white

9.86
#4E396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E396D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E396D#FFFFFF#000000##FFFFFF
##4E396D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A436F
Deuteranopia (green-blind)
#2F436C
Tritanopia (blue-blind)
#48424D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e396d;
/* rgb */ color: rgb(78, 57, 109);
/* oklch */ color: oklch(39.2% 0.088 301.1);
Tailwind
colors: {
  custom: {
    50: '#817097',
    500: '#4e396d',
    950: '#000000',
  },
}
SCSS
$custom: #4e396d;
$custom-light: #817097;
$custom-dark: #000000;
JSON
{
  "hex": "#4e396d",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 264.231,
    "s": 31.325,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39238,
    "c": 0.08807,
    "h": 301.1
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#4E396D
secondary
#869D65
accent
#C8609E
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E396D

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

Preview Lab → · Contrast checker → · Palette generator →

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