#4D1B90#4D1B90

#4D1B90 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.175 H 296.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4D1B90
RGBrgb(77, 27, 144)
HSLhsl(266, 68%, 34%)
HSVhsv(266, 81%, 56%)
CMYKcmyk(46.5%, 81.3%, 0%, 43.5%)
CIE-LABlab(24.87, 47.28, -54.83)
CIE-LCHlch(24.87, 72.40, 310.77°)
OKLaboklab(37.4% 0.0765 -0.1572)
OKLCHoklch(37.4% 0.175 296)
XYZxyz(8.4852, 4.3751, 26.7776)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1B90 #5E901B
analogous
#1B2390 #4D1B90 #871B90
triadic
#4D1B90 #904D1B #1B904D
tetradic
#4D1B90 #901B23 #5E901B #1B9087
square
#4D1B90 #901B23 #5E901B #1B9087
split-complementary
#4D1B90 #90871B #23901B
monochromatic
#160829 #31115C #4D1B90 #6925C4 #8849DD

Accessibility & contrast

On white

11.20
#4D1B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1B90
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1B90#FFFFFF#000000##FFFFFF
##4D1B901.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#3A3C56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d1b90;
/* rgb */ color: rgb(77, 27, 144);
/* oklch */ color: oklch(37.4% 0.175 296.0);
Tailwind
colors: {
  custom: {
    50: '#865eb2',
    500: '#4d1b90',
    950: '#000000',
  },
}
SCSS
$custom: #4d1b90;
$custom-light: #865eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1b90",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 265.641,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.374,
    "c": 0.17482,
    "h": 296
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#4D1B90
secondary
#8CBF48
accent
#EB3DA1
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1B90

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

Preview Lab → · Contrast checker → · Palette generator →

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