#4D2194#4D2194

#4D2194 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.173 H 294.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4D2194
RGBrgb(77, 33, 148)
HSLhsl(263, 64%, 35%)
HSVhsv(263, 78%, 58%)
CMYKcmyk(48%, 77.7%, 0%, 42%)
CIE-LABlab(26.17, 45.71, -55.18)
CIE-LCHlch(26.17, 71.65, 309.63°)
OKLaboklab(38.42% 0.0705 -0.1583)
OKLCHoklch(38.42% 0.173 294)
XYZxyz(8.9483, 4.8033, 28.4669)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2194 #689421
analogous
#212E94 #4D2194 #872194
triadic
#4D2194 #944D21 #21944D
tetradic
#4D2194 #94212E #689421 #219487
square
#4D2194 #94212E #689421 #219487
split-complementary
#4D2194 #948721 #2E9421
monochromatic
#190B30 #331662 #4D2194 #672CC6 #8856D9

Accessibility & contrast

On white

10.71
#4D2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4D2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2194
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2194#FFFFFF#000000##FFFFFF
##4D21941.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#384059
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2194;
/* rgb */ color: rgb(77, 33, 148);
/* oklch */ color: oklch(38.4% 0.173 294.0);
Tailwind
colors: {
  custom: {
    50: '#8661b4',
    500: '#4d2194',
    950: '#000000',
  },
}
SCSS
$custom: #4d2194;
$custom-light: #8661b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2194",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 262.957,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.17325,
    "h": 294
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#4D2194
secondary
#95BD54
accent
#E741A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2194

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

Preview Lab → · Contrast checker → · Palette generator →

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