#4E396B#4E396B

#4E396B is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.1% C 0.085 H 302.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4E396B
RGBrgb(78, 57, 107)
HSLhsl(265, 30%, 32%)
HSVhsv(265, 47%, 42%)
CMYKcmyk(27.1%, 46.7%, 0%, 58%)
CIE-LABlab(28.40, 20.75, -25.83)
CIE-LCHlch(28.40, 33.13, 308.78°)
OKLaboklab(39.12% 0.0451 -0.0722)
OKLCHoklch(39.12% 0.085 302)
XYZxyz(7.2583, 5.6075, 14.6070)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E396B #566B39
analogous
#393D6B #4E396B #67396B
triadic
#4E396B #6B4E39 #396B4E
tetradic
#4E396B #6B393D #566B39 #396B67
square
#4E396B #6B393D #566B39 #396B67
split-complementary
#4E396B #6B6739 #3D6B39
monochromatic
#140E1B #312443 #4E396B #6B4E93 #8A6DB1

Accessibility & contrast

On white

9.90
#4E396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E396B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E396B#FFFFFF#000000##FFFFFF
##4E396B1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436D
Deuteranopia (green-blind)
#30436A
Tritanopia (blue-blind)
#49424D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e396b;
/* rgb */ color: rgb(78, 57, 107);
/* oklch */ color: oklch(39.1% 0.085 302.0);
Tailwind
colors: {
  custom: {
    50: '#817095',
    500: '#4e396b',
    950: '#000000',
  },
}
SCSS
$custom: #4e396b;
$custom-light: #817095;
$custom-dark: #000000;
JSON
{
  "hex": "#4e396b",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 265.2,
    "s": 30.488,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39117,
    "c": 0.08516,
    "h": 302
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#4E396B
secondary
#849B65
accent
#C7619C
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E396B

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

Preview Lab → · Contrast checker → · Palette generator →

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