#4D366A#4D366A

#4D366A is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.4% C 0.089 H 302.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4D366A
RGBrgb(77, 54, 106)
HSLhsl(267, 33%, 31%)
HSVhsv(267, 49%, 42%)
CMYKcmyk(27.4%, 49.1%, 0%, 58.4%)
CIE-LABlab(27.45, 22.09, -26.69)
CIE-LCHlch(27.45, 34.65, 309.61°)
OKLaboklab(38.36% 0.0483 -0.0747)
OKLCHoklch(38.36% 0.089 302.9)
XYZxyz(6.9807, 5.2567, 14.2798)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D366A #536A36
analogous
#36396A #4D366A #67366A
triadic
#4D366A #6A4D36 #366A4D
tetradic
#4D366A #6A3639 #536A36 #366A67
square
#4D366A #6A3639 #536A36 #366A67
split-complementary
#4D366A #6A6736 #396A36
monochromatic
#120D19 #302141 #4D366A #6A4B93 #8968B2

Accessibility & contrast

On white

10.24
#4D366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4D366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D366A
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D366A#FFFFFF#000000##FFFFFF
##4D366A1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#2D4169
Tritanopia (blue-blind)
#483F4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d366a;
/* rgb */ color: rgb(77, 54, 106);
/* oklch */ color: oklch(38.4% 0.089 302.9);
Tailwind
colors: {
  custom: {
    50: '#806d95',
    500: '#4d366a',
    950: '#000000',
  },
}
SCSS
$custom: #4d366a;
$custom-light: #806d95;
$custom-dark: #000000;
JSON
{
  "hex": "#4d366a",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 266.538,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38363,
    "c": 0.08898,
    "h": 302.9
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#4D366A
secondary
#819B61
accent
#C95F9A
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4D366A

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

Preview Lab → · Contrast checker → · Palette generator →

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