#4D367F#4D367F

#4D367F is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.8% C 0.119 H 295.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4D367F
RGBrgb(77, 54, 127)
HSLhsl(259, 40%, 35%)
HSVhsv(259, 57%, 50%)
CMYKcmyk(39.4%, 57.5%, 0%, 50.2%)
CIE-LABlab(28.77, 28.05, -37.91)
CIE-LCHlch(28.77, 47.16, 306.50°)
OKLaboklab(39.77% 0.0501 -0.1076)
OKLCHoklch(39.77% 0.119 295)
XYZxyz(8.2095, 5.7483, 20.7516)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D367F #687F36
analogous
#36447F #4D367F #71367F
triadic
#4D367F #7F4D36 #367F4D
tetradic
#4D367F #7F3644 #687F36 #367F71
square
#4D367F #7F3644 #687F36 #367F71
split-complementary
#4D367F #7F7136 #447F36
monochromatic
#191129 #332454 #4D367F #6748AA #886EC1

Accessibility & contrast

On white

9.77
#4D367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4D367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D367F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D367F#FFFFFF#000000##FFFFFF
##4D367F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134481
Deuteranopia (green-blind)
#1A437D
Tritanopia (blue-blind)
#414555
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d367f;
/* rgb */ color: rgb(77, 54, 127);
/* oklch */ color: oklch(39.8% 0.119 295.0);
Tailwind
colors: {
  custom: {
    50: '#826ea5',
    500: '#4d367f',
    950: '#000000',
  },
}
SCSS
$custom: #4d367f;
$custom-light: #826ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d367f",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 258.904,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39765,
    "c": 0.11866,
    "h": 295
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#4D367F
secondary
#95AA67
accent
#D058AA
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D367F

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

Preview Lab → · Contrast checker → · Palette generator →

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