#4D1E93#4D1E93

#4D1E93 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.175 H 294.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4D1E93
RGBrgb(77, 30, 147)
HSLhsl(264, 66%, 35%)
HSVhsv(264, 80%, 58%)
CMYKcmyk(47.6%, 79.6%, 0%, 42.4%)
CIE-LABlab(25.60, 46.79, -55.49)
CIE-LCHlch(25.60, 72.59, 310.14°)
OKLaboklab(37.99% 0.0732 -0.1592)
OKLCHoklch(37.99% 0.175 294.7)
XYZxyz(8.7899, 4.6127, 28.0253)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E93 #64931E
analogous
#1E2993 #4D1E93 #881E93
triadic
#4D1E93 #934D1E #1E934D
tetradic
#4D1E93 #931E29 #64931E #1E9388
square
#4D1E93 #931E29 #64931E #1E9388
split-complementary
#4D1E93 #93881E #29931E
monochromatic
#18092D #321460 #4D1E93 #6828C6 #8850DB

Accessibility & contrast

On white

10.92
#4D1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4D1E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E93
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E93#FFFFFF#000000##FFFFFF
##4D1E931.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#383F58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d1e93;
/* rgb */ color: rgb(77, 30, 147);
/* oklch */ color: oklch(38.0% 0.175 294.7);
Tailwind
colors: {
  custom: {
    50: '#8660b4',
    500: '#4d1e93',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e93;
$custom-light: #8660b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e93",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 264.103,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37992,
    "c": 0.17519,
    "h": 294.7
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#4D1E93
secondary
#91BE4F
accent
#E93FA5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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