#4D1E90#4D1E90

#4D1E90 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.172 H 295.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#4D1E90
RGBrgb(77, 30, 144)
HSLhsl(265, 66%, 34%)
HSVhsv(265, 79%, 56%)
CMYKcmyk(46.5%, 79.2%, 0%, 43.5%)
CIE-LABlab(25.32, 45.99, -54.10)
CIE-LCHlch(25.32, 71.01, 310.37°)
OKLaboklab(37.71% 0.0741 -0.1551)
OKLCHoklch(37.71% 0.172 295.6)
XYZxyz(8.5575, 4.5197, 26.8017)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E90 #61901E
analogous
#1E2890 #4D1E90 #861E90
triadic
#4D1E90 #904D1E #1E904D
tetradic
#4D1E90 #901E28 #61901E #1E9086
square
#4D1E90 #901E28 #61901E #1E9086
split-complementary
#4D1E90 #90861E #28901E
monochromatic
#17092B #32135D #4D1E90 #6829C3 #884EDA

Accessibility & contrast

On white

11.03
#4D1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4D1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E90
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E90#FFFFFF#000000##FFFFFF
##4D1E901.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1e90;
/* rgb */ color: rgb(77, 30, 144);
/* oklch */ color: oklch(37.7% 0.172 295.6);
Tailwind
colors: {
  custom: {
    50: '#8660b1',
    500: '#4d1e90',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e90;
$custom-light: #8660b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e90",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 264.737,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.17188,
    "h": 295.6
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#4D1E90
secondary
#8FBD4D
accent
#E83FA3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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