#4D1A90#4D1A90

#4D1A90 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.176 H 296.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#4D1A90
RGBrgb(77, 26, 144)
HSLhsl(266, 69%, 33%)
HSVhsv(266, 82%, 56%)
CMYKcmyk(46.5%, 81.9%, 0%, 43.5%)
CIE-LABlab(24.73, 47.69, -55.06)
CIE-LCHlch(24.73, 72.84, 310.90°)
OKLaboklab(37.3% 0.0773 -0.1578)
OKLCHoklch(37.3% 0.176 296.1)
XYZxyz(8.4627, 4.3300, 26.7700)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1A90 #5D901A
analogous
#1A2290 #4D1A90 #881A90
triadic
#4D1A90 #904D1A #1A904D
tetradic
#4D1A90 #901A22 #5D901A #1A9088
square
#4D1A90 #901A22 #5D901A #1A9088
split-complementary
#4D1A90 #90881A #22901A
monochromatic
#160728 #31115C #4D1A90 #6923C4 #8847DE

Accessibility & contrast

On white

11.25
#4D1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4D1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1A90
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1A90#FFFFFF#000000##FFFFFF
##4D1A901.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1a90;
/* rgb */ color: rgb(77, 26, 144);
/* oklch */ color: oklch(37.3% 0.176 296.1);
Tailwind
colors: {
  custom: {
    50: '#865eb2',
    500: '#4d1a90',
    950: '#000000',
  },
}
SCSS
$custom: #4d1a90;
$custom-light: #865eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1a90",
  "rgb": {
    "r": 77,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 265.932,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37302,
    "c": 0.17575,
    "h": 296.1
  },
  "luminance": 0.0433
}

Semantic roles & 50–950 ramp

primary
#4D1A90
secondary
#8BBF47
accent
#EC3CA0
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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