#4D1390#4D1390

#4D1390 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.182 H 296.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#4D1390
RGBrgb(77, 19, 144)
HSLhsl(268, 77%, 32%)
HSVhsv(268, 87%, 56%)
CMYKcmyk(46.5%, 86.8%, 0%, 43.5%)
CIE-LABlab(23.86, 50.25, -56.50)
CIE-LCHlch(23.86, 75.62, 311.65°)
OKLaboklab(36.7% 0.082 -0.162)
OKLCHoklch(36.7% 0.182 296.8)
XYZxyz(8.3261, 4.0570, 26.7245)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1390 #569013
analogous
#131890 #4D1390 #8C1390
triadic
#4D1390 #904D13 #13904D
tetradic
#4D1390 #901318 #569013 #13908C
square
#4D1390 #901318 #569013 #13908C
split-complementary
#4D1390 #908C13 #189013
monochromatic
#130524 #300C5A #4D1390 #6A1AC6 #8839E5

Accessibility & contrast

On white

11.59
#4D1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4D1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1390
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1390#FFFFFF#000000##FFFFFF
##4D13901.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#3A3954
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d1390;
/* rgb */ color: rgb(77, 19, 144);
/* oklch */ color: oklch(36.7% 0.182 296.8);
Tailwind
colors: {
  custom: {
    50: '#875bb2',
    500: '#4d1390',
    950: '#000000',
  },
}
SCSS
$custom: #4d1390;
$custom-light: #875bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1390",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 267.84,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36699,
    "c": 0.18155,
    "h": 296.8
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#4D1390
secondary
#84C43B
accent
#F3359B
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4D1390

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

Preview Lab → · Contrast checker → · Palette generator →

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