#4D366E#4D366E

#4D366E is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.6% C 0.095 H 301.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4D366E
RGBrgb(77, 54, 110)
HSLhsl(265, 34%, 32%)
HSVhsv(265, 51%, 43%)
CMYKcmyk(30%, 50.9%, 0%, 56.9%)
CIE-LABlab(27.69, 23.19, -28.88)
CIE-LCHlch(27.69, 37.04, 308.76°)
OKLaboklab(38.61% 0.0488 -0.0811)
OKLCHoklch(38.61% 0.095 301)
XYZxyz(7.1936, 5.3419, 15.4009)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D366E #576E36
analogous
#363B6E #4D366E #69366E
triadic
#4D366E #6E4D36 #366E4D
tetradic
#4D366E #6E363B #576E36 #366E69
square
#4D366E #6E363B #576E36 #366E69
split-complementary
#4D366E #6E6936 #3B6E36
monochromatic
#140E1C #302245 #4D366E #6A4A97 #8869B5

Accessibility & contrast

On white

10.15
#4D366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D366E
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D366E#FFFFFF#000000##FFFFFF
##4D366E1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#2A416D
Tritanopia (blue-blind)
#47404D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d366e;
/* rgb */ color: rgb(77, 54, 110);
/* oklch */ color: oklch(38.6% 0.095 301.0);
Tailwind
colors: {
  custom: {
    50: '#816d98',
    500: '#4d366e',
    950: '#000000',
  },
}
SCSS
$custom: #4d366e;
$custom-light: #816d98;
$custom-dark: #000000;
JSON
{
  "hex": "#4d366e",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 264.643,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38613,
    "c": 0.09469,
    "h": 301
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#4D366E
secondary
#859E62
accent
#CA5E9E
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4D366E

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

Preview Lab → · Contrast checker → · Palette generator →

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