#4D2193#4D2193

#4D2193 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.172 H 294.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#4D2193
RGBrgb(77, 33, 147)
HSLhsl(263, 63%, 35%)
HSVhsv(263, 78%, 58%)
CMYKcmyk(47.6%, 77.6%, 0%, 42.4%)
CIE-LABlab(26.07, 45.43, -54.72)
CIE-LCHlch(26.07, 71.12, 309.70°)
OKLaboklab(38.32% 0.0708 -0.1569)
OKLCHoklch(38.32% 0.172 294.3)
XYZxyz(8.8694, 4.7718, 28.0518)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2193 #679321
analogous
#212E93 #4D2193 #862193
triadic
#4D2193 #934D21 #21934D
tetradic
#4D2193 #93212E #679321 #219386
square
#4D2193 #93212E #679321 #219386
split-complementary
#4D2193 #938621 #2E9321
monochromatic
#190B2F #331661 #4D2193 #672CC5 #8855D9

Accessibility & contrast

On white

10.74
#4D2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2193
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2193#FFFFFF#000000##FFFFFF
##4D21931.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2193;
/* rgb */ color: rgb(77, 33, 147);
/* oklch */ color: oklch(38.3% 0.172 294.3);
Tailwind
colors: {
  custom: {
    50: '#8661b4',
    500: '#4d2193',
    950: '#000000',
  },
}
SCSS
$custom: #4d2193;
$custom-light: #8661b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2193",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 263.158,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38323,
    "c": 0.17213,
    "h": 294.3
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#4D2193
secondary
#94BD53
accent
#E641A7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D2193

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

Preview Lab → · Contrast checker → · Palette generator →

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