#4D366B#4D366B

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

Color values

HEX#4D366B
RGBrgb(77, 54, 107)
HSLhsl(266, 33%, 32%)
HSVhsv(266, 50%, 42%)
CMYKcmyk(28%, 49.5%, 0%, 58%)
CIE-LABlab(27.51, 22.36, -27.24)
CIE-LCHlch(27.51, 35.25, 309.38°)
OKLaboklab(38.42% 0.0484 -0.0763)
OKLCHoklch(38.42% 0.09 302.4)
XYZxyz(7.0330, 5.2776, 14.5552)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D366B #546B36
analogous
#363A6B #4D366B #68366B
triadic
#4D366B #6B4D36 #366B4D
tetradic
#4D366B #6B363A #546B36 #366B68
square
#4D366B #6B363A #546B36 #366B68
split-complementary
#4D366B #6B6836 #3A6B36
monochromatic
#120D1A #302142 #4D366B #6A4B94 #8968B3

Accessibility & contrast

On white

10.22
#4D366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D366B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D366B#FFFFFF#000000##FFFFFF
##4D366B1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#2C416A
Tritanopia (blue-blind)
#483F4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d366b;
/* rgb */ color: rgb(77, 54, 107);
/* oklch */ color: oklch(38.4% 0.090 302.4);
Tailwind
colors: {
  custom: {
    50: '#806d95',
    500: '#4d366b',
    950: '#000000',
  },
}
SCSS
$custom: #4d366b;
$custom-light: #806d95;
$custom-dark: #000000;
JSON
{
  "hex": "#4d366b",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 266.038,
    "s": 32.919,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38424,
    "c": 0.09041,
    "h": 302.4
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#4D366B
secondary
#829C61
accent
#C95F9B
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4D366B

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

Preview Lab → · Contrast checker → · Palette generator →

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