#4D337D#4D337D

#4D337D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.1% C 0.121 H 296.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4D337D
RGBrgb(77, 51, 125)
HSLhsl(261, 42%, 35%)
HSVhsv(261, 59%, 49%)
CMYKcmyk(38.4%, 59.2%, 0%, 51%)
CIE-LABlab(27.92, 29.33, -38.02)
CIE-LCHlch(27.92, 48.02, 307.64°)
OKLaboklab(39.09% 0.0541 -0.1079)
OKLCHoklch(39.09% 0.121 296.6)
XYZxyz(7.9451, 5.4260, 20.0268)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D337D #637D33
analogous
#333E7D #4D337D #72337D
triadic
#4D337D #7D4D33 #337D4D
tetradic
#4D337D #7D333E #637D33 #337D72
square
#4D337D #7D333E #637D33 #337D72
split-complementary
#4D337D #7D7233 #3E7D33
monochromatic
#171026 #322152 #4D337D #6845A8 #8869C2

Accessibility & contrast

On white

10.07
#4D337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4D337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D337D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D337D#FFFFFF#000000##FFFFFF
##4D337D1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427F
Deuteranopia (green-blind)
#18417B
Tritanopia (blue-blind)
#424253
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d337d;
/* rgb */ color: rgb(77, 51, 125);
/* oklch */ color: oklch(39.1% 0.121 296.6);
Tailwind
colors: {
  custom: {
    50: '#826ca3',
    500: '#4d337d',
    950: '#000000',
  },
}
SCSS
$custom: #4d337d;
$custom-light: #826ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d337d",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 261.081,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39093,
    "c": 0.12071,
    "h": 296.6
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#4D337D
secondary
#90AA62
accent
#D256A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D337D

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

Preview Lab → · Contrast checker → · Palette generator →

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