#4D369E#4D369E

#4D369E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.160 H 287.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4D369E
RGBrgb(77, 54, 158)
HSLhsl(253, 49%, 42%)
HSVhsv(253, 66%, 62%)
CMYKcmyk(51.3%, 65.8%, 0%, 38%)
CIE-LABlab(31.08, 37.37, -53.28)
CIE-LCHlch(31.08, 65.08, 305.05°)
OKLaboklab(42.18% 0.0485 -0.1528)
OKLCHoklch(42.18% 0.16 287.6)
XYZxyz(10.5495, 6.6842, 33.0754)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D369E #879E36
analogous
#36539E #4D369E #81369E
triadic
#4D369E #9E4D36 #369E4D
tetradic
#4D369E #9E3653 #879E36 #369E81
square
#4D369E #9E3653 #879E36 #369E81
split-complementary
#4D369E #9E8136 #539E36
monochromatic
#211743 #372670 #4D369E #684FC3 #8F7CD2

Accessibility & contrast

On white

8.99
#4D369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4D369E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D369E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D369E#FFFFFF#000000##FFFFFF
##4D369E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#304F65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d369e;
/* rgb */ color: rgb(77, 54, 158);
/* oklch */ color: oklch(42.2% 0.160 287.6);
Tailwind
colors: {
  custom: {
    50: '#866ebb',
    500: '#4d369e',
    950: '#000000',
  },
}
SCSS
$custom: #4d369e;
$custom-light: #866ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d369e",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 253.269,
    "s": 49.057,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.16029,
    "h": 287.6
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#4D369E
secondary
#ACBB74
accent
#D94FBA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D369E

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

Preview Lab → · Contrast checker → · Palette generator →

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