#4E3760#4E3760

#4E3760 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.1% C 0.073 H 309.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4E3760
RGBrgb(78, 55, 96)
HSLhsl(274, 27%, 30%)
HSVhsv(274, 43%, 38%)
CMYKcmyk(18.7%, 42.7%, 0%, 62.4%)
CIE-LABlab(27.29, 19.12, -20.50)
CIE-LCHlch(27.29, 28.03, 313.01°)
OKLaboklab(38.09% 0.0461 -0.0568)
OKLCHoklch(38.09% 0.073 309.1)
XYZxyz(6.6190, 5.1967, 11.7184)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3760 #496037
analogous
#3A3760 #4E3760 #60375D
triadic
#4E3760 #604E37 #37604E
tetradic
#4E3760 #603A37 #496037 #375D60
square
#4E3760 #603A37 #496037 #375D60
split-complementary
#4E3760 #5D6037 #37603A
monochromatic
#100B13 #2E2139 #4E3760 #6E4D87 #8D69A9

Accessibility & contrast

On white

10.30
#4E3760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E3760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3760
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3760#FFFFFF#000000##FFFFFF
##4E37601.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F62
Deuteranopia (green-blind)
#34415F
Tritanopia (blue-blind)
#4C3D47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3760;
/* rgb */ color: rgb(78, 55, 96);
/* oklch */ color: oklch(38.1% 0.073 309.1);
Tailwind
colors: {
  custom: {
    50: '#806e8d',
    500: '#4e3760',
    950: '#000000',
  },
}
SCSS
$custom: #4e3760;
$custom-light: #806e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3760",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 96
  },
  "hsl": {
    "h": 273.659,
    "s": 27.152,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38087,
    "c": 0.07316,
    "h": 309.1
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#4E3760
secondary
#779062
accent
#C3648E
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3760

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

Preview Lab → · Contrast checker → · Palette generator →

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