#4D1CA0#4D1CA0

#4D1CA0 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.1% C 0.191 H 291.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4D1CA0
RGBrgb(77, 28, 160)
HSLhsl(262, 70%, 37%)
HSVhsv(262, 83%, 63%)
CMYKcmyk(51.9%, 82.5%, 0%, 37.3%)
CIE-LABlab(26.58, 51.08, -61.86)
CIE-LCHlch(26.58, 80.22, 309.55°)
OKLaboklab(39.06% 0.0704 -0.1778)
OKLCHoklch(39.06% 0.191 291.6)
XYZxyz(9.8192, 4.9460, 33.6882)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1CA0 #6FA01C
analogous
#1C2DA0 #4D1CA0 #8F1CA0
triadic
#4D1CA0 #A04D1C #1CA04D
tetradic
#4D1CA0 #A01C2D #6FA01C #1CA08F
square
#4D1CA0 #A01C2D #6FA01C #1CA08F
split-complementary
#4D1CA0 #A08F1C #2DA01C
monochromatic
#1B0A38 #34136C #4D1CA0 #6625D4 #8955E1

Accessibility & contrast

On white

10.56
#4D1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4D1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1CA0
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1CA0#FFFFFF#000000##FFFFFF
##4D1CA01.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#30435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d1ca0;
/* rgb */ color: rgb(77, 28, 160);
/* oklch */ color: oklch(39.1% 0.191 291.6);
Tailwind
colors: {
  custom: {
    50: '#8860bd',
    500: '#4d1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #4d1ca0;
$custom-light: #8860bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1ca0",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 262.273,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39055,
    "c": 0.19118,
    "h": 291.6
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#4D1CA0
secondary
#9AC453
accent
#ED3BAB
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4D1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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