#4D367C#4D367C

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

Color values

HEX#4D367C
RGBrgb(77, 54, 124)
HSLhsl(260, 39%, 35%)
HSVhsv(260, 56%, 49%)
CMYKcmyk(37.9%, 56.5%, 0%, 51.4%)
CIE-LABlab(28.57, 27.18, -36.35)
CIE-LCHlch(28.57, 45.38, 306.78°)
OKLaboklab(39.55% 0.05 -0.103)
OKLCHoklch(39.55% 0.114 295.9)
XYZxyz(8.0169, 5.6712, 19.7371)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D367C #657C36
analogous
#36427C #4D367C #70367C
triadic
#4D367C #7C4D36 #367C4D
tetradic
#4D367C #7C3642 #657C36 #367C70
square
#4D367C #7C3642 #657C36 #367C70
split-complementary
#4D367C #7C7036 #427C36
monochromatic
#181127 #332351 #4D367C #6749A7 #886DBF

Accessibility & contrast

On white

9.84
#4D367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D367C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D367C#FFFFFF#000000##FFFFFF
##4D367C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#1E427A
Tritanopia (blue-blind)
#424453
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d367c;
/* rgb */ color: rgb(77, 54, 124);
/* oklch */ color: oklch(39.6% 0.114 295.9);
Tailwind
colors: {
  custom: {
    50: '#826ea2',
    500: '#4d367c',
    950: '#000000',
  },
}
SCSS
$custom: #4d367c;
$custom-light: #826ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d367c",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 259.714,
    "s": 39.326,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.11448,
    "h": 295.9
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#4D367C
secondary
#92A866
accent
#CF59A8
background
#F8F6FA
surface
#EFECF3
border
#CAC7CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D367C

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

Preview Lab → · Contrast checker → · Palette generator →

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