#4D3383#4D3383

#4D3383 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.5% C 0.129 H 294.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4D3383
RGBrgb(77, 51, 131)
HSLhsl(260, 44%, 36%)
HSVhsv(260, 61%, 51%)
CMYKcmyk(41.2%, 61.1%, 0%, 48.6%)
CIE-LABlab(28.34, 31.07, -41.10)
CIE-LCHlch(28.34, 51.53, 307.09°)
OKLaboklab(39.54% 0.054 -0.117)
OKLCHoklch(39.54% 0.129 294.8)
XYZxyz(8.3400, 5.5839, 22.1067)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3383 #698333
analogous
#334183 #4D3383 #753383
triadic
#4D3383 #834D33 #33834D
tetradic
#4D3383 #833341 #698333 #338375
square
#4D3383 #833341 #698333 #338375
split-complementary
#4D3383 #837533 #418333
monochromatic
#19112B #332257 #4D3383 #6744AF #886BC5

Accessibility & contrast

On white

9.92
#4D3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4D3383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3383
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3383#FFFFFF#000000##FFFFFF
##4D33831.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004486
Deuteranopia (green-blind)
#0D4281
Tritanopia (blue-blind)
#3F4456
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d3383;
/* rgb */ color: rgb(77, 51, 131);
/* oklch */ color: oklch(39.5% 0.129 294.8);
Tailwind
colors: {
  custom: {
    50: '#836ca8',
    500: '#4d3383',
    950: '#000000',
  },
}
SCSS
$custom: #4d3383;
$custom-light: #836ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3383",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 259.5,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39537,
    "c": 0.12883,
    "h": 294.8
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#4D3383
secondary
#96AD65
accent
#D454AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D3383

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

Preview Lab → · Contrast checker → · Palette generator →

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