#4D2191#4D2191

#4D2191 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.170 H 294.8°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#4D2191
RGBrgb(77, 33, 145)
HSLhsl(264, 63%, 35%)
HSVhsv(264, 77%, 57%)
CMYKcmyk(46.9%, 77.2%, 0%, 43.1%)
CIE-LABlab(25.89, 44.89, -53.78)
CIE-LCHlch(25.89, 70.06, 309.85°)
OKLaboklab(38.14% 0.0713 -0.1542)
OKLCHoklch(38.14% 0.17 294.8)
XYZxyz(8.7139, 4.7096, 27.2325)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2191 #659121
analogous
#212D91 #4D2191 #852191
triadic
#4D2191 #914D21 #21914D
tetradic
#4D2191 #91212D #659121 #219185
square
#4D2191 #91212D #659121 #219185
split-complementary
#4D2191 #918521 #2D9121
monochromatic
#180A2D #33165F #4D2191 #672CC3 #8854D8

Accessibility & contrast

On white

10.81
#4D2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2191
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2191#FFFFFF#000000##FFFFFF
##4D21911.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#393F58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d2191;
/* rgb */ color: rgb(77, 33, 145);
/* oklch */ color: oklch(38.1% 0.170 294.8);
Tailwind
colors: {
  custom: {
    50: '#8661b2',
    500: '#4d2191',
    950: '#000000',
  },
}
SCSS
$custom: #4d2191;
$custom-light: #8661b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2191",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 263.571,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38138,
    "c": 0.16986,
    "h": 294.8
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#4D2191
secondary
#92BC52
accent
#E642A5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D2191

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

Preview Lab → · Contrast checker → · Palette generator →

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