#4D1890#4D1890

#4D1890 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.178 H 296.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#4D1890
RGBrgb(77, 24, 144)
HSLhsl(267, 71%, 33%)
HSVhsv(267, 83%, 56%)
CMYKcmyk(46.5%, 83.3%, 0%, 43.5%)
CIE-LABlab(24.46, 48.48, -55.51)
CIE-LCHlch(24.46, 73.70, 311.13°)
OKLaboklab(37.11% 0.0787 -0.1591)
OKLCHoklch(37.11% 0.178 296.3)
XYZxyz(8.4199, 4.2445, 26.7558)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1890 #5B9018
analogous
#181F90 #4D1890 #891890
triadic
#4D1890 #904D18 #18904D
tetradic
#4D1890 #90181F #5B9018 #189089
square
#4D1890 #90181F #5B9018 #189089
split-complementary
#4D1890 #908918 #1F9018
monochromatic
#150727 #310F5C #4D1890 #6921C4 #8843E0

Accessibility & contrast

On white

11.36
#4D1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4D1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1890
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1890#FFFFFF#000000##FFFFFF
##4D18901.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#3A3B55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d1890;
/* rgb */ color: rgb(77, 24, 144);
/* oklch */ color: oklch(37.1% 0.178 296.3);
Tailwind
colors: {
  custom: {
    50: '#865db2',
    500: '#4d1890',
    950: '#000000',
  },
}
SCSS
$custom: #4d1890;
$custom-light: #865db2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1890",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 266.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37115,
    "c": 0.17754,
    "h": 296.3
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#4D1890
secondary
#89C043
accent
#EE3A9E
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1890

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

Preview Lab → · Contrast checker → · Palette generator →

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