#4E395F#4E395F

#4E395F is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.4% C 0.068 H 308.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4E395F
RGBrgb(78, 57, 95)
HSLhsl(273, 25%, 30%)
HSVhsv(273, 40%, 37%)
CMYKcmyk(17.9%, 40%, 0%, 62.7%)
CIE-LABlab(27.77, 17.57, -19.10)
CIE-LCHlch(27.77, 25.95, 312.62°)
OKLaboklab(38.44% 0.0425 -0.0528)
OKLCHoklch(38.44% 0.068 308.9)
XYZxyz(6.6702, 5.3723, 11.5098)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E395F #4A5F39
analogous
#3B395F #4E395F #5F395D
triadic
#4E395F #5F4E39 #395F4E
tetradic
#4E395F #5F3B39 #4A5F39 #395D5F
square
#4E395F #5F3B39 #4A5F39 #395D5F
split-complementary
#4E395F #5D5F39 #395F3B
monochromatic
#100B13 #2F2239 #4E395F #6D5085 #8C6CA7

Accessibility & contrast

On white

10.12
#4E395F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E395F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E395F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E395F#FFFFFF#000000##FFFFFF
##4E395F1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314160
Deuteranopia (green-blind)
#36425E
Tritanopia (blue-blind)
#4C3F47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e395f;
/* rgb */ color: rgb(78, 57, 95);
/* oklch */ color: oklch(38.4% 0.068 308.9);
Tailwind
colors: {
  custom: {
    50: '#806f8c',
    500: '#4e395f',
    950: '#000000',
  },
}
SCSS
$custom: #4e395f;
$custom-light: #806f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e395f",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 95
  },
  "hsl": {
    "h": 273.158,
    "s": 25,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38435,
    "c": 0.06778,
    "h": 308.9
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#4E395F
secondary
#788F65
accent
#C1668F
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E395F

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

Preview Lab → · Contrast checker → · Palette generator →

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