#4D366F#4D366F

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

Color values

HEX#4D366F
RGBrgb(77, 54, 111)
HSLhsl(264, 35%, 32%)
HSVhsv(264, 51%, 44%)
CMYKcmyk(30.6%, 51.4%, 0%, 56.5%)
CIE-LABlab(27.75, 23.47, -29.43)
CIE-LCHlch(27.75, 37.64, 308.57°)
OKLaboklab(38.68% 0.049 -0.0827)
OKLCHoklch(38.68% 0.096 300.6)
XYZxyz(7.2483, 5.3638, 15.6893)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D366F #586F36
analogous
#363B6F #4D366F #6A366F
triadic
#4D366F #6F4D36 #366F4D
tetradic
#4D366F #6F363B #586F36 #366F6A
square
#4D366F #6F363B #586F36 #366F6A
split-complementary
#4D366F #6F6A36 #3B6F36
monochromatic
#140E1D #302246 #4D366F #6A4A98 #8869B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D366F#FFFFFF#000000##FFFFFF
##4D366F1.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)
#244171
Deuteranopia (green-blind)
#2A416E
Tritanopia (blue-blind)
#46404D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d366f;
/* rgb */ color: rgb(77, 54, 111);
/* oklch */ color: oklch(38.7% 0.096 300.6);
Tailwind
colors: {
  custom: {
    50: '#816d98',
    500: '#4d366f',
    950: '#000000',
  },
}
SCSS
$custom: #4d366f;
$custom-light: #816d98;
$custom-dark: #000000;
JSON
{
  "hex": "#4d366f",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 264.211,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38677,
    "c": 0.09612,
    "h": 300.6
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#4D366F
secondary
#869F62
accent
#CB5D9E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4D366F

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

Preview Lab → · Contrast checker → · Palette generator →

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