#4D1E83#4D1E83

#4D1E83 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.157 H 299.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#4D1E83
RGBrgb(77, 30, 131)
HSLhsl(268, 63%, 32%)
HSVhsv(268, 77%, 51%)
CMYKcmyk(41.2%, 77.1%, 0%, 48.6%)
CIE-LABlab(24.14, 42.56, -47.91)
CIE-LCHlch(24.14, 64.08, 311.62°)
OKLaboklab(36.52% 0.0777 -0.1369)
OKLCHoklch(36.52% 0.157 299.6)
XYZxyz(7.6205, 4.1449, 21.8669)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E83 #54831E
analogous
#1E2183 #4D1E83 #801E83
triadic
#4D1E83 #834D1E #1E834D
tetradic
#4D1E83 #831E21 #54831E #1E8380
square
#4D1E83 #831E21 #54831E #1E8380
split-complementary
#4D1E83 #83801E #21831E
monochromatic
#12071F #301351 #4D1E83 #6A29B5 #8947D5

Accessibility & contrast

On white

11.48
#4D1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4D1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E83
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E83#FFFFFF#000000##FFFFFF
##4D1E831.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#40384F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d1e83;
/* rgb */ color: rgb(77, 30, 131);
/* oklch */ color: oklch(36.5% 0.157 299.6);
Tailwind
colors: {
  custom: {
    50: '#845fa8',
    500: '#4d1e83',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e83;
$custom-light: #845fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e83",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 267.921,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36524,
    "c": 0.15741,
    "h": 299.6
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#4D1E83
secondary
#82B647
accent
#E6429A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4D1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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