#4E386F#4E386F

#4E386F is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.2% C 0.093 H 300.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4E386F
RGBrgb(78, 56, 111)
HSLhsl(264, 33%, 33%)
HSVhsv(264, 50%, 44%)
CMYKcmyk(29.7%, 49.5%, 0%, 56.5%)
CIE-LABlab(28.37, 22.49, -28.43)
CIE-LCHlch(28.37, 36.26, 308.35°)
OKLaboklab(39.17% 0.0473 -0.0798)
OKLCHoklch(39.17% 0.093 300.7)
XYZxyz(7.4246, 5.5957, 15.7248)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E386F #596F38
analogous
#383D6F #4E386F #69386F
triadic
#4E386F #6F4E38 #386F4E
tetradic
#4E386F #6F383D #596F38 #386F69
square
#4E386F #6F383D #596F38 #386F69
split-complementary
#4E386F #6F6938 #3D6F38
monochromatic
#150F1E #312346 #4E386F #6B4D98 #896CB5

Accessibility & contrast

On white

9.91
#4E386F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4E386F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E386F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E386F#FFFFFF#000000##FFFFFF
##4E386F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274371
Deuteranopia (green-blind)
#2D436E
Tritanopia (blue-blind)
#48424E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e386f;
/* rgb */ color: rgb(78, 56, 111);
/* oklch */ color: oklch(39.2% 0.093 300.7);
Tailwind
colors: {
  custom: {
    50: '#816f98',
    500: '#4e386f',
    950: '#000000',
  },
}
SCSS
$custom: #4e386f;
$custom-light: #816f98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e386f",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 264,
    "s": 32.934,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39168,
    "c": 0.09276,
    "h": 300.7
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#4E386F
secondary
#879E64
accent
#C95F9F
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E386F

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

Preview Lab → · Contrast checker → · Palette generator →

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