#4D1083#4D1083

#4D1083 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.171 H 301.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#4D1083
RGBrgb(77, 16, 131)
HSLhsl(272, 78%, 29%)
HSVhsv(272, 88%, 51%)
CMYKcmyk(41.2%, 87.8%, 0%, 48.6%)
CIE-LABlab(22.26, 48.04, -51.00)
CIE-LCHlch(22.26, 70.06, 313.29°)
OKLaboklab(35.21% 0.0888 -0.1458)
OKLCHoklch(35.21% 0.171 301.3)
XYZxyz(7.3416, 3.5870, 21.7739)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1083 #468310
analogous
#141083 #4D1083 #831080
triadic
#4D1083 #834D10 #10834D
tetradic
#4D1083 #831410 #468310 #108083
square
#4D1083 #831410 #468310 #108083
split-complementary
#4D1083 #808310 #108314
monochromatic
#10031B #2D094C #4D1083 #6D17BA #8C29E5

Accessibility & contrast

On white

12.23
#4D1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4D1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1083
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1083#FFFFFF#000000##FFFFFF
##4D10831.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#41334C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4d1083;
/* rgb */ color: rgb(77, 16, 131);
/* oklch */ color: oklch(35.2% 0.171 301.3);
Tailwind
colors: {
  custom: {
    50: '#8559a8',
    500: '#4d1083',
    950: '#000000',
  },
}
SCSS
$custom: #4d1083;
$custom-light: #8559a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1083",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 271.826,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3521,
    "c": 0.17074,
    "h": 301.3
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#4D1083
secondary
#73B936
accent
#F5338E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4D1083

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

Preview Lab → · Contrast checker → · Palette generator →

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