#4E3860#4E3860

#4E3860 is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.3% C 0.071 H 308.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4E3860
RGBrgb(78, 56, 96)
HSLhsl(273, 26%, 30%)
HSVhsv(273, 42%, 38%)
CMYKcmyk(18.7%, 41.7%, 0%, 62.4%)
CIE-LABlab(27.55, 18.48, -20.09)
CIE-LCHlch(27.55, 27.29, 312.61°)
OKLaboklab(38.29% 0.0445 -0.0556)
OKLCHoklch(38.29% 0.071 308.6)
XYZxyz(6.6670, 5.2927, 11.7344)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3860 #4A6038
analogous
#3A3860 #4E3860 #60385E
triadic
#4E3860 #604E38 #38604E
tetradic
#4E3860 #603A38 #4A6038 #385E60
square
#4E3860 #603A38 #4A6038 #385E60
split-complementary
#4E3860 #5E6038 #38603A
monochromatic
#100B13 #2F2139 #4E3860 #6D4F87 #8C6AA8

Accessibility & contrast

On white

10.20
#4E3860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E3860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3860
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3860#FFFFFF#000000##FFFFFF
##4E38601.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304062
Deuteranopia (green-blind)
#35415F
Tritanopia (blue-blind)
#4C3E47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3860;
/* rgb */ color: rgb(78, 56, 96);
/* oklch */ color: oklch(38.3% 0.071 308.6);
Tailwind
colors: {
  custom: {
    50: '#806f8d',
    500: '#4e3860',
    950: '#000000',
  },
}
SCSS
$custom: #4e3860;
$custom-light: #806f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3860",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 96
  },
  "hsl": {
    "h": 273,
    "s": 26.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38287,
    "c": 0.07119,
    "h": 308.6
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#4E3860
secondary
#789063
accent
#C3658F
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3860

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

Preview Lab → · Contrast checker → · Palette generator →

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