#4E3768#4E3768

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

Color values

HEX#4E3768
RGBrgb(78, 55, 104)
HSLhsl(268, 31%, 31%)
HSVhsv(268, 47%, 41%)
CMYKcmyk(25%, 47.1%, 0%, 59.2%)
CIE-LABlab(27.71, 21.22, -24.99)
CIE-LCHlch(27.71, 32.79, 310.34°)
OKLaboklab(38.55% 0.0478 -0.0698)
OKLCHoklch(38.55% 0.085 304.4)
XYZxyz(7.0062, 5.3516, 13.7579)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3768 #516837
analogous
#373868 #4E3768 #663768
triadic
#4E3768 #684E37 #37684E
tetradic
#4E3768 #683738 #516837 #376866
square
#4E3768 #683738 #516837 #376866
split-complementary
#4E3768 #686637 #386837
monochromatic
#120D18 #302240 #4E3768 #6C4C90 #8B69B0

Accessibility & contrast

On white

10.14
#4E3768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3768
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3768#FFFFFF#000000##FFFFFF
##4E37681.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A416A
Deuteranopia (green-blind)
#304167
Tritanopia (blue-blind)
#4A3F4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3768;
/* rgb */ color: rgb(78, 55, 104);
/* oklch */ color: oklch(38.5% 0.085 304.4);
Tailwind
colors: {
  custom: {
    50: '#816e93',
    500: '#4e3768',
    950: '#000000',
  },
}
SCSS
$custom: #4e3768;
$custom-light: #816e93;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3768",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 104
  },
  "hsl": {
    "h": 268.163,
    "s": 30.818,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.08455,
    "h": 304.4
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#4E3768
secondary
#7F9862
accent
#C76197
background
#F7F6F9
surface
#EEECF1
border
#C9C7CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E3768

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

Preview Lab → · Contrast checker → · Palette generator →

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