#4D2383#4D2383

#4D2383 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.151 H 298.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#4D2383
RGBrgb(77, 35, 131)
HSLhsl(266, 58%, 33%)
HSVhsv(266, 73%, 51%)
CMYKcmyk(41.2%, 73.3%, 0%, 48.6%)
CIE-LABlab(25.01, 40.12, -46.50)
CIE-LCHlch(25.01, 61.41, 310.79°)
OKLaboklab(37.14% 0.0727 -0.1328)
OKLCHoklch(37.14% 0.151 298.7)
XYZxyz(7.7573, 4.4184, 21.9125)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2383 #598323
analogous
#232983 #4D2383 #7D2383
triadic
#4D2383 #834D23 #23834D
tetradic
#4D2383 #832329 #598323 #23837D
square
#4D2383 #832329 #598323 #23837D
split-complementary
#4D2383 #837D23 #298323
monochromatic
#140922 #311653 #4D2383 #6930B3 #8850D0

Accessibility & contrast

On white

11.15
#4D2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4D2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2383
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2383#FFFFFF#000000##FFFFFF
##4D23831.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#403B50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d2383;
/* rgb */ color: rgb(77, 35, 131);
/* oklch */ color: oklch(37.1% 0.151 298.7);
Tailwind
colors: {
  custom: {
    50: '#8462a8',
    500: '#4d2383',
    950: '#000000',
  },
}
SCSS
$custom: #4d2383;
$custom-light: #8462a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2383",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 266.25,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37135,
    "c": 0.1514,
    "h": 298.7
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#4D2383
secondary
#87B44E
accent
#E1479E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4D2383

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

Preview Lab → · Contrast checker → · Palette generator →

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