#4D2292#4D2292

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

Color values

HEX#4D2292
RGBrgb(77, 34, 146)
HSLhsl(263, 62%, 35%)
HSVhsv(263, 77%, 57%)
CMYKcmyk(47.3%, 76.7%, 0%, 42.7%)
CIE-LABlab(26.15, 44.69, -53.98)
CIE-LCHlch(26.15, 70.08, 309.62°)
OKLaboklab(38.35% 0.0702 -0.1547)
OKLCHoklch(38.35% 0.17 294.4)
XYZxyz(8.8195, 4.7969, 27.6498)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2292 #679222
analogous
#222F92 #4D2292 #852292
triadic
#4D2292 #924D22 #22924D
tetradic
#4D2292 #92222F #679222 #229285
square
#4D2292 #92222F #679222 #229285
split-complementary
#4D2292 #928522 #2F9222
monochromatic
#190B2F #331660 #4D2292 #672EC4 #8857D8

Accessibility & contrast

On white

10.72
#4D2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2292
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2292#FFFFFF#000000##FFFFFF
##4D22921.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2292;
/* rgb */ color: rgb(77, 34, 146);
/* oklch */ color: oklch(38.3% 0.170 294.4);
Tailwind
colors: {
  custom: {
    50: '#8662b3',
    500: '#4d2292',
    950: '#000000',
  },
}
SCSS
$custom: #4d2292;
$custom-light: #8662b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2292",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 263.036,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.16992,
    "h": 294.4
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#4D2292
secondary
#94BC54
accent
#E543A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2292

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

Preview Lab → · Contrast checker → · Palette generator →

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