#4E366D#4E366D

#4E366D is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.7% C 0.094 H 302.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4E366D
RGBrgb(78, 54, 109)
HSLhsl(266, 34%, 32%)
HSVhsv(266, 50%, 43%)
CMYKcmyk(28.4%, 50.5%, 0%, 57.3%)
CIE-LABlab(27.74, 23.22, -28.15)
CIE-LCHlch(27.74, 36.49, 309.52°)
OKLaboklab(38.66% 0.0501 -0.079)
OKLCHoklch(38.66% 0.094 302.4)
XYZxyz(7.2208, 5.3622, 15.1196)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E366D #556D36
analogous
#363A6D #4E366D #6A366D
triadic
#4E366D #6D4E36 #366D4E
tetradic
#4E366D #6D363A #556D36 #366D6A
square
#4E366D #6D363A #556D36 #366D6A
split-complementary
#4E366D #6D6A36 #3A6D36
monochromatic
#130D1B #312244 #4E366D #6B4A96 #8A69B5

Accessibility & contrast

On white

10.13
#4E366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E366D
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E366D#FFFFFF#000000##FFFFFF
##4E366D1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#2C416C
Tritanopia (blue-blind)
#48404C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e366d;
/* rgb */ color: rgb(78, 54, 109);
/* oklch */ color: oklch(38.7% 0.094 302.4);
Tailwind
colors: {
  custom: {
    50: '#816d97',
    500: '#4e366d',
    950: '#000000',
  },
}
SCSS
$custom: #4e366d;
$custom-light: #816d97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e366d",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 266.182,
    "s": 33.742,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38662,
    "c": 0.09351,
    "h": 302.4
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#4E366D
secondary
#839D61
accent
#CA5E9B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E366D

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

Preview Lab → · Contrast checker → · Palette generator →

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