#4E366B#4E366B

#4E366B is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.5% C 0.091 H 303.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4E366B
RGBrgb(78, 54, 107)
HSLhsl(267, 33%, 32%)
HSVhsv(267, 50%, 42%)
CMYKcmyk(27.1%, 49.5%, 0%, 58%)
CIE-LABlab(27.63, 22.67, -27.05)
CIE-LCHlch(27.63, 35.30, 309.96°)
OKLaboklab(38.54% 0.0498 -0.0758)
OKLCHoklch(38.54% 0.091 303.3)
XYZxyz(7.1143, 5.3196, 14.5591)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E366B #536B36
analogous
#36396B #4E366B #69366B
triadic
#4E366B #6B4E36 #366B4E
tetradic
#4E366B #6B3639 #536B36 #366B69
square
#4E366B #6B3639 #536B36 #366B69
split-complementary
#4E366B #6B6936 #396B36
monochromatic
#130D1A #302142 #4E366B #6C4B94 #8A68B3

Accessibility & contrast

On white

10.17
#4E366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E366B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E366B#FFFFFF#000000##FFFFFF
##4E366B1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#2D416A
Tritanopia (blue-blind)
#493F4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e366b;
/* rgb */ color: rgb(78, 54, 107);
/* oklch */ color: oklch(38.5% 0.091 303.3);
Tailwind
colors: {
  custom: {
    50: '#816d95',
    500: '#4e366b',
    950: '#000000',
  },
}
SCSS
$custom: #4e366b;
$custom-light: #816d95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e366b",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 267.17,
    "s": 32.919,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38537,
    "c": 0.09067,
    "h": 303.3
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#4E366B
secondary
#819C61
accent
#C95F99
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E366B

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

Preview Lab → · Contrast checker → · Palette generator →

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