#4D2083#4D2083

#4D2083 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.155 H 299.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#4D2083
RGBrgb(77, 32, 131)
HSLhsl(267, 61%, 32%)
HSVhsv(267, 76%, 51%)
CMYKcmyk(41.2%, 75.6%, 0%, 48.6%)
CIE-LABlab(24.48, 41.61, -47.36)
CIE-LCHlch(24.48, 63.05, 311.30°)
OKLaboklab(36.76% 0.0758 -0.1353)
OKLCHoklch(36.76% 0.155 299.3)
XYZxyz(7.6728, 4.2494, 21.8843)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2083 #568320
analogous
#202483 #4D2083 #7F2083
triadic
#4D2083 #834D20 #20834D
tetradic
#4D2083 #832024 #568320 #20837F
square
#4D2083 #832024 #568320 #20837F
split-complementary
#4D2083 #837F20 #248320
monochromatic
#130821 #301452 #4D2083 #6A2CB4 #894AD3

Accessibility & contrast

On white

11.35
#4D2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4D2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2083
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2083#FFFFFF#000000##FFFFFF
##4D20831.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#403950
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d2083;
/* rgb */ color: rgb(77, 32, 131);
/* oklch */ color: oklch(36.8% 0.155 299.3);
Tailwind
colors: {
  custom: {
    50: '#8460a8',
    500: '#4d2083',
    950: '#000000',
  },
}
SCSS
$custom: #4d2083;
$custom-light: #8460a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2083",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 267.273,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3676,
    "c": 0.15508,
    "h": 299.3
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#4D2083
secondary
#84B649
accent
#E4449B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4D2083

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

Preview Lab → · Contrast checker → · Palette generator →

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