#4D1C85#4D1C85

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

Color values

HEX#4D1C85
RGBrgb(77, 28, 133)
HSLhsl(268, 65%, 32%)
HSVhsv(268, 79%, 52%)
CMYKcmyk(42.1%, 78.9%, 0%, 47.8%)
CIE-LABlab(24.00, 43.99, -49.39)
CIE-LCHlch(24.00, 66.14, 311.69°)
OKLaboklab(36.48% 0.079 -0.1412)
OKLCHoklch(36.48% 0.162 299.2)
XYZxyz(7.7084, 4.1016, 22.5713)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1C85 #54851C
analogous
#1C2085 #4D1C85 #821C85
triadic
#4D1C85 #854D1C #1C854D
tetradic
#4D1C85 #851C20 #54851C #1C8582
square
#4D1C85 #851C20 #54851C #1C8582
split-complementary
#4D1C85 #85821C #20851C
monochromatic
#120720 #301152 #4D1C85 #6A27B8 #8944D8

Accessibility & contrast

On white

11.54
#4D1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4D1C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1C85
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1C85#FFFFFF#000000##FFFFFF
##4D1C851.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#3F3850
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d1c85;
/* rgb */ color: rgb(77, 28, 133);
/* oklch */ color: oklch(36.5% 0.162 299.2);
Tailwind
colors: {
  custom: {
    50: '#855ea9',
    500: '#4d1c85',
    950: '#000000',
  },
}
SCSS
$custom: #4d1c85;
$custom-light: #855ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1c85",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 268,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36481,
    "c": 0.16185,
    "h": 299.2
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#4D1C85
secondary
#82B845
accent
#E8409A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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