#4D2190#4D2190

#4D2190 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.169 H 295.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#4D2190
RGBrgb(77, 33, 144)
HSLhsl(264, 63%, 35%)
HSVhsv(264, 77%, 56%)
CMYKcmyk(46.5%, 77.1%, 0%, 43.5%)
CIE-LABlab(25.80, 44.62, -53.32)
CIE-LCHlch(25.80, 69.52, 309.93°)
OKLaboklab(38.05% 0.0716 -0.1528)
OKLCHoklch(38.05% 0.169 295.1)
XYZxyz(8.6371, 4.6789, 26.8282)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2190 #649021
analogous
#212C90 #4D2190 #852190
triadic
#4D2190 #904D21 #21904D
tetradic
#4D2190 #90212C #649021 #219085
square
#4D2190 #90212C #649021 #219085
split-complementary
#4D2190 #908521 #2C9021
monochromatic
#180A2C #32165E #4D2190 #682CC2 #8854D8

Accessibility & contrast

On white

10.85
#4D2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4D2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2190
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2190#FFFFFF#000000##FFFFFF
##4D21901.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#3A3F57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d2190;
/* rgb */ color: rgb(77, 33, 144);
/* oklch */ color: oklch(38.0% 0.169 295.1);
Tailwind
colors: {
  custom: {
    50: '#8661b1',
    500: '#4d2190',
    950: '#000000',
  },
}
SCSS
$custom: #4d2190;
$custom-light: #8661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2190",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 263.784,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.16873,
    "h": 295.1
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#4D2190
secondary
#91BB51
accent
#E642A5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D2190

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

Preview Lab → · Contrast checker → · Palette generator →

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