#4E3966#4E3966

#4E3966 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 38.8% C 0.078 H 304.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4E3966
RGBrgb(78, 57, 102)
HSLhsl(268, 28%, 31%)
HSVhsv(268, 44%, 40%)
CMYKcmyk(23.5%, 44.1%, 0%, 60%)
CIE-LABlab(28.13, 19.40, -23.05)
CIE-LCHlch(28.13, 30.13, 310.08°)
OKLaboklab(38.82% 0.0442 -0.0642)
OKLCHoklch(38.82% 0.078 304.5)
XYZxyz(7.0028, 5.5053, 13.2615)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3966 #516639
analogous
#393A66 #4E3966 #643966
triadic
#4E3966 #664E39 #39664E
tetradic
#4E3966 #66393A #516639 #396664
square
#4E3966 #66393A #516639 #396664
split-complementary
#4E3966 #666439 #3A6639
monochromatic
#120D17 #30233F #4E3966 #6C4F8D #8B6CAD

Accessibility & contrast

On white

10.00
#4E3966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E3966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3966
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3966#FFFFFF#000000##FFFFFF
##4E39661.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4268
Deuteranopia (green-blind)
#334265
Tritanopia (blue-blind)
#4A404A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3966;
/* rgb */ color: rgb(78, 57, 102);
/* oklch */ color: oklch(38.8% 0.078 304.5);
Tailwind
colors: {
  custom: {
    50: '#806f92',
    500: '#4e3966',
    950: '#000000',
  },
}
SCSS
$custom: #4e3966;
$custom-light: #806f92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3966",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 102
  },
  "hsl": {
    "h": 268,
    "s": 28.302,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38824,
    "c": 0.0779,
    "h": 304.5
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#4E3966
secondary
#7F9665
accent
#C56397
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070D
muted
#7C7A7D

Preview Lab

Preview with #4E3966

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

Preview Lab → · Contrast checker → · Palette generator →

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