#4D2C83#4D2C83

#4D2C83 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.139 H 296.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4D2C83
RGBrgb(77, 44, 131)
HSLhsl(263, 50%, 34%)
HSVhsv(263, 66%, 51%)
CMYKcmyk(41.2%, 66.4%, 0%, 48.6%)
CIE-LABlab(26.79, 35.22, -43.61)
CIE-LCHlch(26.79, 56.06, 308.92°)
OKLaboklab(38.41% 0.0627 -0.1243)
OKLCHoklch(38.41% 0.139 296.7)
XYZxyz(8.0569, 5.0177, 22.0124)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C83 #62832C
analogous
#2C3783 #4D2C83 #792C83
triadic
#4D2C83 #834D2C #2C834D
tetradic
#4D2C83 #832C37 #62832C #2C8379
square
#4D2C83 #832C37 #62832C #2C8379
split-complementary
#4D2C83 #83792C #37832C
monochromatic
#170D27 #321D55 #4D2C83 #683BB1 #8860CA

Accessibility & contrast

On white

10.48
#4D2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4D2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C83
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C83#FFFFFF#000000##FFFFFF
##4D2C831.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#404053
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2c83;
/* rgb */ color: rgb(77, 44, 131);
/* oklch */ color: oklch(38.4% 0.139 296.7);
Tailwind
colors: {
  custom: {
    50: '#8367a8',
    500: '#4d2c83',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c83;
$custom-light: #8367a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c83",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 262.759,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38408,
    "c": 0.13922,
    "h": 296.7
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#4D2C83
secondary
#90B05B
accent
#D94FA5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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