#4D2296#4D2296

#4D2296 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.174 H 293.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4D2296
RGBrgb(77, 34, 150)
HSLhsl(262, 63%, 36%)
HSVhsv(262, 77%, 59%)
CMYKcmyk(48.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(26.52, 45.78, -55.84)
CIE-LCHlch(26.52, 72.21, 309.35°)
OKLaboklab(38.72% 0.0691 -0.1602)
OKLCHoklch(38.72% 0.174 293.3)
XYZxyz(9.1361, 4.9235, 29.3172)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2296 #6B9622
analogous
#223196 #4D2296 #872296
triadic
#4D2296 #964D22 #22964D
tetradic
#4D2296 #962231 #6B9622 #229687
square
#4D2296 #962231 #6B9622 #229687
split-complementary
#4D2296 #968722 #319622
monochromatic
#1A0B32 #331764 #4D2296 #672DC8 #8959D9

Accessibility & contrast

On white

10.58
#4D2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4D2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2296
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2296#FFFFFF#000000##FFFFFF
##4D22961.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#36425B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2296;
/* rgb */ color: rgb(77, 34, 150);
/* oklch */ color: oklch(38.7% 0.174 293.3);
Tailwind
colors: {
  custom: {
    50: '#8762b6',
    500: '#4d2296',
    950: '#000000',
  },
}
SCSS
$custom: #4d2296;
$custom-light: #8762b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2296",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 262.241,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38717,
    "c": 0.17447,
    "h": 293.3
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#4D2296
secondary
#97BE56
accent
#E642A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2296

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

Preview Lab → · Contrast checker → · Palette generator →

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