#4D1CA1#4D1CA1

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

Color values

HEX#4D1CA1
RGBrgb(77, 28, 161)
HSLhsl(262, 70%, 37%)
HSVhsv(262, 83%, 63%)
CMYKcmyk(52.2%, 82.6%, 0%, 36.9%)
CIE-LABlab(26.68, 51.34, -62.30)
CIE-LCHlch(26.68, 80.73, 309.49°)
OKLaboklab(39.16% 0.07 -0.1791)
OKLCHoklch(39.16% 0.192 291.4)
XYZxyz(9.9070, 4.9811, 34.1507)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1CA1 #70A11C
analogous
#1C2EA1 #4D1CA1 #8F1CA1
triadic
#4D1CA1 #A14D1C #1CA14D
tetradic
#4D1CA1 #A11C2E #70A11C #1CA18F
square
#4D1CA1 #A11C2E #70A11C #1CA18F
split-complementary
#4D1CA1 #A18F1C #2EA11C
monochromatic
#1B0A39 #34136D #4D1CA1 #6625D5 #8956E2

Accessibility & contrast

On white

10.52
#4D1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4D1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1CA1
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1CA1#FFFFFF#000000##FFFFFF
##4D1CA11.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#2F4460
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d1ca1;
/* rgb */ color: rgb(77, 28, 161);
/* oklch */ color: oklch(39.2% 0.192 291.4);
Tailwind
colors: {
  custom: {
    50: '#8960be',
    500: '#4d1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #4d1ca1;
$custom-light: #8960be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1ca1",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 262.105,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39155,
    "c": 0.19226,
    "h": 291.4
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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