#4E3960#4E3960

#4E3960 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.5% C 0.069 H 308.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4E3960
RGBrgb(78, 57, 96)
HSLhsl(272, 25%, 30%)
HSVhsv(272, 41%, 38%)
CMYKcmyk(18.7%, 40.6%, 0%, 62.4%)
CIE-LABlab(27.82, 17.83, -19.67)
CIE-LCHlch(27.82, 26.55, 312.19°)
OKLaboklab(38.49% 0.0428 -0.0544)
OKLCHoklch(38.49% 0.069 308.2)
XYZxyz(6.7159, 5.3906, 11.7507)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3960 #4B6039
analogous
#3B3960 #4E3960 #60395E
triadic
#4E3960 #604E39 #39604E
tetradic
#4E3960 #603B39 #4B6039 #395E60
square
#4E3960 #603B39 #4B6039 #395E60
split-complementary
#4E3960 #5E6039 #39603B
monochromatic
#100B13 #2F223A #4E3960 #6D5086 #8C6CA8

Accessibility & contrast

On white

10.11
#4E3960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E3960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3960
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3960#FFFFFF#000000##FFFFFF
##4E39601.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314161
Deuteranopia (green-blind)
#36425F
Tritanopia (blue-blind)
#4C3F48
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3960;
/* rgb */ color: rgb(78, 57, 96);
/* oklch */ color: oklch(38.5% 0.069 308.2);
Tailwind
colors: {
  custom: {
    50: '#806f8d',
    500: '#4e3960',
    950: '#000000',
  },
}
SCSS
$custom: #4e3960;
$custom-light: #806f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3960",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 96
  },
  "hsl": {
    "h": 272.308,
    "s": 25.49,
    "l": 30
  },
  "oklch": {
    "l": 0.38489,
    "c": 0.06922,
    "h": 308.2
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#4E3960
secondary
#799065
accent
#C26690
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3960

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

Preview Lab → · Contrast checker → · Palette generator →

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