#4D2192#4D2192

#4D2192 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.171 H 294.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#4D2192
RGBrgb(77, 33, 146)
HSLhsl(263, 63%, 35%)
HSVhsv(263, 77%, 57%)
CMYKcmyk(47.3%, 77.4%, 0%, 42.7%)
CIE-LABlab(25.98, 45.16, -54.25)
CIE-LCHlch(25.98, 70.59, 309.78°)
OKLaboklab(38.23% 0.071 -0.1555)
OKLCHoklch(38.23% 0.171 294.5)
XYZxyz(8.7913, 4.7406, 27.6404)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2192 #669221
analogous
#212D92 #4D2192 #852192
triadic
#4D2192 #924D21 #21924D
tetradic
#4D2192 #92212D #669221 #219285
square
#4D2192 #92212D #669221 #219285
split-complementary
#4D2192 #928521 #2D9221
monochromatic
#180A2E #331660 #4D2192 #672CC4 #8855D9

Accessibility & contrast

On white

10.78
#4D2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4D2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2192
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2192#FFFFFF#000000##FFFFFF
##4D21921.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#394058
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d2192;
/* rgb */ color: rgb(77, 33, 146);
/* oklch */ color: oklch(38.2% 0.171 294.5);
Tailwind
colors: {
  custom: {
    50: '#8661b3',
    500: '#4d2192',
    950: '#000000',
  },
}
SCSS
$custom: #4d2192;
$custom-light: #8661b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2192",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 263.363,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3823,
    "c": 0.171,
    "h": 294.5
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#4D2192
secondary
#93BC53
accent
#E642A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D2192

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

Preview Lab → · Contrast checker → · Palette generator →

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