#4D2384#4D2384

#4D2384 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.153 H 298.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4D2384
RGBrgb(77, 35, 132)
HSLhsl(266, 58%, 33%)
HSVhsv(266, 73%, 52%)
CMYKcmyk(41.7%, 73.5%, 0%, 48.2%)
CIE-LABlab(25.09, 40.39, -46.99)
CIE-LCHlch(25.09, 61.96, 310.68°)
OKLaboklab(37.22% 0.0725 -0.1342)
OKLCHoklch(37.22% 0.153 298.4)
XYZxyz(7.8254, 4.4457, 22.2711)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2384 #5A8423
analogous
#232A84 #4D2384 #7D2384
triadic
#4D2384 #844D23 #23844D
tetradic
#4D2384 #84232A #5A8423 #23847D
square
#4D2384 #84232A #5A8423 #23847D
split-complementary
#4D2384 #847D23 #2A8423
monochromatic
#150923 #311654 #4D2384 #6930B4 #8851D1

Accessibility & contrast

On white

11.12
#4D2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4D2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2384
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2384#FFFFFF#000000##FFFFFF
##4D23841.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#403B51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2384;
/* rgb */ color: rgb(77, 35, 132);
/* oklch */ color: oklch(37.2% 0.153 298.4);
Tailwind
colors: {
  custom: {
    50: '#8462a9',
    500: '#4d2384',
    950: '#000000',
  },
}
SCSS
$custom: #4d2384;
$custom-light: #8462a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2384",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 265.979,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37221,
    "c": 0.15257,
    "h": 298.4
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#4D2384
secondary
#88B44E
accent
#E1469E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4D2384

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

Preview Lab → · Contrast checker → · Palette generator →

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