#4D1C90#4D1C90

#4D1C90 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.174 H 295.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#4D1C90
RGBrgb(77, 28, 144)
HSLhsl(265, 67%, 34%)
HSVhsv(265, 81%, 56%)
CMYKcmyk(46.5%, 80.6%, 0%, 43.5%)
CIE-LABlab(25.02, 46.86, -54.59)
CIE-LCHlch(25.02, 71.95, 310.64°)
OKLaboklab(37.5% 0.0757 -0.1565)
OKLCHoklch(37.5% 0.174 295.8)
XYZxyz(8.5085, 4.4217, 26.7853)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1C90 #5F901C
analogous
#1C2590 #4D1C90 #871C90
triadic
#4D1C90 #904D1C #1C904D
tetradic
#4D1C90 #901C25 #5F901C #1C9087
square
#4D1C90 #901C25 #5F901C #1C9087
split-complementary
#4D1C90 #90871C #25901C
monochromatic
#16082A #32125D #4D1C90 #6826C3 #884ADC

Accessibility & contrast

On white

11.14
#4D1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4D1C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1C90
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1C90#FFFFFF#000000##FFFFFF
##4D1C901.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#3A3D56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d1c90;
/* rgb */ color: rgb(77, 28, 144);
/* oklch */ color: oklch(37.5% 0.174 295.8);
Tailwind
colors: {
  custom: {
    50: '#865fb2',
    500: '#4d1c90',
    950: '#000000',
  },
}
SCSS
$custom: #4d1c90;
$custom-light: #865fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1c90",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 265.345,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.375,
    "c": 0.17386,
    "h": 295.8
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#4D1C90
secondary
#8DBE4A
accent
#EA3DA1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1C90

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

Preview Lab → · Contrast checker → · Palette generator →

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