#4D367B#4D367B

#4D367B is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.5% C 0.113 H 296.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4D367B
RGBrgb(77, 54, 123)
HSLhsl(260, 39%, 35%)
HSVhsv(260, 56%, 48%)
CMYKcmyk(37.4%, 56.1%, 0%, 51.8%)
CIE-LABlab(28.50, 26.89, -35.83)
CIE-LCHlch(28.50, 44.79, 306.89°)
OKLaboklab(39.48% 0.05 -0.1015)
OKLCHoklch(39.48% 0.113 296.2)
XYZxyz(7.9540, 5.6460, 19.4058)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D367B #647B36
analogous
#36427B #4D367B #70367B
triadic
#4D367B #7B4D36 #367B4D
tetradic
#4D367B #7B3642 #647B36 #367B70
square
#4D367B #7B3642 #647B36 #367B70
split-complementary
#4D367B #7B7036 #427B36
monochromatic
#181126 #322350 #4D367B #6849A6 #886DBF

Accessibility & contrast

On white

9.86
#4D367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4D367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D367B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D367B#FFFFFF#000000##FFFFFF
##4D367B1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#424453
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d367b;
/* rgb */ color: rgb(77, 54, 123);
/* oklch */ color: oklch(39.5% 0.113 296.2);
Tailwind
colors: {
  custom: {
    50: '#826ea2',
    500: '#4d367b',
    950: '#000000',
  },
}
SCSS
$custom: #4d367b;
$custom-light: #826ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d367b",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 260,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39481,
    "c": 0.11309,
    "h": 296.2
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#4D367B
secondary
#91A765
accent
#CF59A8
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D367B

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

Preview Lab → · Contrast checker → · Palette generator →

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