#4D1EA0#4D1EA0

#4D1EA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.189 H 291.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4D1EA0
RGBrgb(77, 30, 160)
HSLhsl(262, 68%, 37%)
HSVhsv(262, 81%, 63%)
CMYKcmyk(51.9%, 81.3%, 0%, 37.3%)
CIE-LABlab(26.86, 50.26, -61.40)
CIE-LCHlch(26.86, 79.34, 309.30°)
OKLaboklab(39.25% 0.069 -0.1764)
OKLCHoklch(39.25% 0.189 291.4)
XYZxyz(9.8682, 5.0440, 33.7045)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1EA0 #71A01E
analogous
#1E30A0 #4D1EA0 #8E1EA0
triadic
#4D1EA0 #A04D1E #1EA04D
tetradic
#4D1EA0 #A01E30 #71A01E #1EA08E
square
#4D1EA0 #A01E30 #71A01E #1EA08E
split-complementary
#4D1EA0 #A08E1E #30A01E
monochromatic
#1B0B39 #34146C #4D1EA0 #6628D4 #8959E0

Accessibility & contrast

On white

10.45
#4D1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4D1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1EA0
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1EA0#FFFFFF#000000##FFFFFF
##4D1EA01.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#304460
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d1ea0;
/* rgb */ color: rgb(77, 30, 160);
/* oklch */ color: oklch(39.2% 0.189 291.4);
Tailwind
colors: {
  custom: {
    50: '#8861bd',
    500: '#4d1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4d1ea0;
$custom-light: #8861bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1ea0",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 261.692,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39248,
    "c": 0.18946,
    "h": 291.4
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#4D1EA0
secondary
#9CC456
accent
#EB3DAC
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4D1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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