#4E366F#4E366F

#4E366F is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.8% C 0.096 H 301.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4E366F
RGBrgb(78, 54, 111)
HSLhsl(265, 35%, 32%)
HSVhsv(265, 51%, 44%)
CMYKcmyk(29.7%, 51.4%, 0%, 56.5%)
CIE-LABlab(27.86, 23.77, -29.24)
CIE-LCHlch(27.86, 37.68, 309.11°)
OKLaboklab(38.79% 0.0503 -0.0821)
OKLCHoklch(38.79% 0.096 301.5)
XYZxyz(7.3296, 5.4057, 15.6931)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E366F #576F36
analogous
#363B6F #4E366F #6A366F
triadic
#4E366F #6F4E36 #366F4E
tetradic
#4E366F #6F363B #576F36 #366F6A
square
#4E366F #6F363B #576F36 #366F6A
split-complementary
#4E366F #6F6A36 #3B6F36
monochromatic
#140E1D #312246 #4E366F #6B4A98 #8A69B6

Accessibility & contrast

On white

10.09
#4E366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E366F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E366F#FFFFFF#000000##FFFFFF
##4E366F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#2A426E
Tritanopia (blue-blind)
#48404D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e366f;
/* rgb */ color: rgb(78, 54, 111);
/* oklch */ color: oklch(38.8% 0.096 301.5);
Tailwind
colors: {
  custom: {
    50: '#816d98',
    500: '#4e366f',
    950: '#000000',
  },
}
SCSS
$custom: #4e366f;
$custom-light: #816d98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e366f",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 265.263,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38788,
    "c": 0.09634,
    "h": 301.5
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#4E366F
secondary
#859F62
accent
#CB5D9D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E366F

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

Preview Lab → · Contrast checker → · Palette generator →

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