#4D1D90#4D1D90

#4D1D90 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.173 H 295.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#4D1D90
RGBrgb(77, 29, 144)
HSLhsl(265, 66%, 34%)
HSVhsv(265, 80%, 56%)
CMYKcmyk(46.5%, 79.9%, 0%, 43.5%)
CIE-LABlab(25.17, 46.43, -54.35)
CIE-LCHlch(25.17, 71.48, 310.51°)
OKLaboklab(37.6% 0.075 -0.1558)
OKLCHoklch(37.6% 0.173 295.7)
XYZxyz(8.5326, 4.4699, 26.7934)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1D90 #60901D
analogous
#1D2790 #4D1D90 #871D90
triadic
#4D1D90 #904D1D #1D904D
tetradic
#4D1D90 #901D27 #60901D #1D9087
square
#4D1D90 #901D27 #60901D #1D9087
split-complementary
#4D1D90 #90871D #27901D
monochromatic
#17082A #32135D #4D1D90 #6827C3 #884CDB

Accessibility & contrast

On white

11.09
#4D1D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4D1D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1D90
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1D90#FFFFFF#000000##FFFFFF
##4D1D901.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1d90;
/* rgb */ color: rgb(77, 29, 144);
/* oklch */ color: oklch(37.6% 0.173 295.7);
Tailwind
colors: {
  custom: {
    50: '#865fb2',
    500: '#4d1d90',
    950: '#000000',
  },
}
SCSS
$custom: #4d1d90;
$custom-light: #865fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1d90",
  "rgb": {
    "r": 77,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 265.043,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37604,
    "c": 0.17288,
    "h": 295.7
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#4D1D90
secondary
#8EBD4B
accent
#E93EA2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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