#4D366C#4D366C

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

Color values

HEX#4D366C
RGBrgb(77, 54, 108)
HSLhsl(266, 33%, 32%)
HSVhsv(266, 50%, 42%)
CMYKcmyk(28.7%, 50%, 0%, 57.6%)
CIE-LABlab(27.57, 22.64, -27.79)
CIE-LCHlch(27.57, 35.84, 309.16°)
OKLaboklab(38.49% 0.0486 -0.0779)
OKLCHoklch(38.49% 0.092 301.9)
XYZxyz(7.0859, 5.2988, 14.8339)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D366C #556C36
analogous
#363A6C #4D366C #68366C
triadic
#4D366C #6C4D36 #366C4D
tetradic
#4D366C #6C363A #556C36 #366C68
square
#4D366C #6C363A #556C36 #366C68
split-complementary
#4D366C #6C6836 #3A6C36
monochromatic
#130D1A #302243 #4D366C #6A4A95 #8969B4

Accessibility & contrast

On white

10.20
#4D366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D366C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D366C#FFFFFF#000000##FFFFFF
##4D366C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#2C416B
Tritanopia (blue-blind)
#47404C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d366c;
/* rgb */ color: rgb(77, 54, 108);
/* oklch */ color: oklch(38.5% 0.092 301.9);
Tailwind
colors: {
  custom: {
    50: '#806d96',
    500: '#4d366c',
    950: '#000000',
  },
}
SCSS
$custom: #4d366c;
$custom-light: #806d96;
$custom-dark: #000000;
JSON
{
  "hex": "#4d366c",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 265.556,
    "s": 33.333,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38487,
    "c": 0.09184,
    "h": 301.9
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#4D366C
secondary
#839D61
accent
#C95E9C
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4D366C

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

Preview Lab → · Contrast checker → · Palette generator →

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