#4D367E#4D367E

#4D367E is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.7% C 0.117 H 295.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4D367E
RGBrgb(77, 54, 126)
HSLhsl(259, 40%, 35%)
HSVhsv(259, 57%, 49%)
CMYKcmyk(38.9%, 57.1%, 0%, 50.6%)
CIE-LABlab(28.70, 27.76, -37.39)
CIE-LCHlch(28.70, 46.57, 306.59°)
OKLaboklab(39.69% 0.0501 -0.106)
OKLCHoklch(39.69% 0.117 295.3)
XYZxyz(8.1447, 5.7223, 20.4100)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D367E #677E36
analogous
#36437E #4D367E #71367E
triadic
#4D367E #7E4D36 #367E4D
tetradic
#4D367E #7E3643 #677E36 #367E71
square
#4D367E #7E3643 #677E36 #367E71
split-complementary
#4D367E #7E7136 #437E36
monochromatic
#191128 #332453 #4D367E #6748A9 #886EC1

Accessibility & contrast

On white

9.79
#4D367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4D367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D367E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D367E#FFFFFF#000000##FFFFFF
##4D367E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#1C437C
Tritanopia (blue-blind)
#414554
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d367e;
/* rgb */ color: rgb(77, 54, 126);
/* oklch */ color: oklch(39.7% 0.117 295.3);
Tailwind
colors: {
  custom: {
    50: '#826ea4',
    500: '#4d367e',
    950: '#000000',
  },
}
SCSS
$custom: #4d367e;
$custom-light: #826ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d367e",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 259.167,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39693,
    "c": 0.11728,
    "h": 295.3
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#4D367E
secondary
#94A967
accent
#D058AA
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D367E

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

Preview Lab → · Contrast checker → · Palette generator →

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