#4D367D#4D367D

#4D367D is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.116 H 295.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4D367D
RGBrgb(77, 54, 125)
HSLhsl(259, 40%, 35%)
HSVhsv(259, 57%, 49%)
CMYKcmyk(38.4%, 56.8%, 0%, 51%)
CIE-LABlab(28.63, 27.47, -36.87)
CIE-LCHlch(28.63, 45.98, 306.69°)
OKLaboklab(39.62% 0.05 -0.1045)
OKLCHoklch(39.62% 0.116 295.6)
XYZxyz(8.0805, 5.6966, 20.0719)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D367D #667D36
analogous
#36427D #4D367D #71367D
triadic
#4D367D #7D4D36 #367D4D
tetradic
#4D367D #7D3642 #667D36 #367D71
square
#4D367D #7D3642 #667D36 #367D71
split-complementary
#4D367D #7D7136 #427D36
monochromatic
#181128 #332452 #4D367D #6748A8 #886DC0

Accessibility & contrast

On white

9.82
#4D367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D367D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D367D#FFFFFF#000000##FFFFFF
##4D367D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#1D437B
Tritanopia (blue-blind)
#424554
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d367d;
/* rgb */ color: rgb(77, 54, 125);
/* oklch */ color: oklch(39.6% 0.116 295.6);
Tailwind
colors: {
  custom: {
    50: '#826ea3',
    500: '#4d367d',
    950: '#000000',
  },
}
SCSS
$custom: #4d367d;
$custom-light: #826ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d367d",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 259.437,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.11588,
    "h": 295.6
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#4D367D
secondary
#93A966
accent
#D058A9
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D367D

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

Preview Lab → · Contrast checker → · Palette generator →

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