#4E386D#4E386D

#4E386D is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.0% C 0.090 H 301.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4E386D
RGBrgb(78, 56, 109)
HSLhsl(265, 32%, 32%)
HSVhsv(265, 49%, 43%)
CMYKcmyk(28.4%, 48.6%, 0%, 57.3%)
CIE-LABlab(28.25, 21.94, -27.34)
CIE-LCHlch(28.25, 35.06, 308.75°)
OKLaboklab(39.04% 0.047 -0.0766)
OKLCHoklch(39.04% 0.09 301.5)
XYZxyz(7.3158, 5.5522, 15.1513)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E386D #576D38
analogous
#383C6D #4E386D #69386D
triadic
#4E386D #6D4E38 #386D4E
tetradic
#4E386D #6D383C #576D38 #386D69
square
#4E386D #6D383C #576D38 #386D69
split-complementary
#4E386D #6D6938 #3C6D38
monochromatic
#140E1C #312345 #4E386D #6B4D95 #8A6CB3

Accessibility & contrast

On white

9.95
#4E386D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E386D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E386D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E386D#FFFFFF#000000##FFFFFF
##4E386D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426F
Deuteranopia (green-blind)
#2E426C
Tritanopia (blue-blind)
#48414D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e386d;
/* rgb */ color: rgb(78, 56, 109);
/* oklch */ color: oklch(39.0% 0.090 301.5);
Tailwind
colors: {
  custom: {
    50: '#816f97',
    500: '#4e386d',
    950: '#000000',
  },
}
SCSS
$custom: #4e386d;
$custom-light: #816f97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e386d",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 109
  },
  "hsl": {
    "h": 264.906,
    "s": 32.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39044,
    "c": 0.08988,
    "h": 301.5
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#4E386D
secondary
#859D64
accent
#C8609D
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E386D

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

Preview Lab → · Contrast checker → · Palette generator →

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