#4E3766#4E3766

#4E3766 is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.4% C 0.082 H 305.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4E3766
RGBrgb(78, 55, 102)
HSLhsl(269, 30%, 31%)
HSVhsv(269, 46%, 40%)
CMYKcmyk(23.5%, 46.1%, 0%, 60%)
CIE-LABlab(27.60, 20.69, -23.88)
CIE-LCHlch(27.60, 31.60, 310.91°)
OKLaboklab(38.43% 0.0474 -0.0665)
OKLCHoklch(38.43% 0.082 305.4)
XYZxyz(6.9059, 5.3114, 13.2292)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3766 #4F6637
analogous
#373766 #4E3766 #653766
triadic
#4E3766 #664E37 #37664E
tetradic
#4E3766 #663737 #4F6637 #376665
square
#4E3766 #663737 #4F6637 #376665
split-complementary
#4E3766 #666537 #376637
monochromatic
#110C16 #30223E #4E3766 #6C4C8E #8B69AE

Accessibility & contrast

On white

10.18
#4E3766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3766
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3766#FFFFFF#000000##FFFFFF
##4E37661.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4068
Deuteranopia (green-blind)
#314165
Tritanopia (blue-blind)
#4A3F49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3766;
/* rgb */ color: rgb(78, 55, 102);
/* oklch */ color: oklch(38.4% 0.082 305.4);
Tailwind
colors: {
  custom: {
    50: '#816e92',
    500: '#4e3766',
    950: '#000000',
  },
}
SCSS
$custom: #4e3766;
$custom-light: #816e92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3766",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 102
  },
  "hsl": {
    "h": 269.362,
    "s": 29.936,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.08169,
    "h": 305.4
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#4E3766
secondary
#7D9662
accent
#C66295
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070D
muted
#7C7A7D

Preview Lab

Preview with #4E3766

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

Preview Lab → · Contrast checker → · Palette generator →

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