#4D337C#4D337C

#4D337C is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.0% C 0.119 H 296.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4D337C
RGBrgb(77, 51, 124)
HSLhsl(261, 42%, 34%)
HSVhsv(261, 59%, 49%)
CMYKcmyk(37.9%, 58.9%, 0%, 51.4%)
CIE-LABlab(27.85, 29.04, -37.51)
CIE-LCHlch(27.85, 47.44, 307.75°)
OKLaboklab(39.02% 0.0541 -0.1064)
OKLCHoklch(39.02% 0.119 296.9)
XYZxyz(7.8816, 5.4005, 19.6920)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D337C #627C33
analogous
#333E7C #4D337C #72337C
triadic
#4D337C #7C4D33 #337C4D
tetradic
#4D337C #7C333E #627C33 #337C72
square
#4D337C #7C333E #627C33 #337C72
split-complementary
#4D337C #7C7233 #3E7C33
monochromatic
#170F25 #322151 #4D337C #6845A7 #8868C1

Accessibility & contrast

On white

10.10
#4D337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4D337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D337C
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D337C#FFFFFF#000000##FFFFFF
##4D337C1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427E
Deuteranopia (green-blind)
#19417A
Tritanopia (blue-blind)
#424252
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d337c;
/* rgb */ color: rgb(77, 51, 124);
/* oklch */ color: oklch(39.0% 0.119 296.9);
Tailwind
colors: {
  custom: {
    50: '#826ca2',
    500: '#4d337c',
    950: '#000000',
  },
}
SCSS
$custom: #4d337c;
$custom-light: #826ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d337c",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 261.37,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3902,
    "c": 0.11935,
    "h": 296.9
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#4D337C
secondary
#90A962
accent
#D256A6
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D337C

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

Preview Lab → · Contrast checker → · Palette generator →

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